[BUG: inetutils tftpd]: tftpd of inetutils1.5.6 only transfers file with size no more than 511 byte to tftp client

Xiaoqiang Zheng zh_xq@yahoo.com
Thu Jun 11 04:24:00 GMT 2009


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/



More information about the Cygwin mailing list