This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [BUG: inetutils tftpd]: tftpd of inetutils1.5.6 only transfers file with size no more than 511 byte to tftp client
- From: Xiaoqiang Zheng <zh_xq at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 10 Jun 2009 21:24:02 -0700 (PDT)
- Subject: Re: [BUG: inetutils tftpd]: tftpd of inetutils1.5.6 only transfers file with size no more than 511 byte to tftp client
6. source code information from libinetutils/tftpsubs.c
================
/* Simple minded read-ahead/write-behind subroutines for tftp user and
server. Written originally with multiple buffers in mind, but current
implementation has two buffer logic wired in.
Todo: add some sort of final error check so when the write-buffer
is finally flushed, the caller can detect if the disk filled up
(or had an i/o error) and return a nak to the other side.
Jim Guyton 10/85
*/
================
tftpd is not a full tftp server, multiple buffers need to be implemented so that it can transfer big size files, for example to serve PXE file pxelinux.0.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/