aboutsummaryrefslogtreecommitdiff
path: root/lib/tftp.c
AgeCommit message (Collapse)Author
2006-08-19Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPEDaniel Stenberg
command on subsequent requests on a re-used connection unless it has to.
2006-07-29Winsock and Cygwin need address family specification before bind(), this ↵Yang Tse
should be harmless for others.
2006-07-19Fix compiler warningsYang Tse
2006-05-09oops, could return an uninitialized variableDaniel Stenberg
2006-05-08check more return codes and skip the initial slash in given file namesDaniel Stenberg
2006-05-08no longer uses errno but Curl_sockerrno() and now acknowledges return codesDaniel Stenberg
from Curl_client_write
2006-05-08Stop sending retransmitted received blocks up to clientDan Fandrich
Fixed handling of retransmitted blocks on transmit Properly aligned data to transmit within packet Replaced calls to strerror() with Curl_strerror()
2006-05-08Fixed known bug #28. The TFTP code no longer assumes a packed struct andDaniel Stenberg
thus works reliably on more platforms.
2006-05-04Roland Blom filed bug report #1481217Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
2006-03-26Tor Arntsen figured out that TFTP was broken on a lot of systems since weDaniel Stenberg
called bind() with a too big argument in the 3rd parameter and at least Tru64, AIX and IRIX seem to be very picky about it.
2006-03-20Fixed a bug whereby a received file whose length was a multiple ofDan Fandrich
512 bytes could have random garbage appended. Also, stop processing TFTP packets which are too short to be legal.
2006-03-20fixed tftp packet overflow riskDaniel Stenberg
2005-12-08Fix compiler warningYang Tse
2005-12-05Added a run-time check to warn if TFTP is going to fail due to portabilityDan Fandrich
issues in the code.
2005-12-05Another Yang Tse warning cleanup raid!Daniel Stenberg
2005-12-02Yang Tse fixed the 4th argument in the sendto() callsDaniel Stenberg
2005-11-23Yang Tse's patch to silence MSVC warningsDaniel Stenberg
2005-11-13Fix for WIN32. WIN32 does have 'struct sockaddr_storage', butGisle Vanem
that's in <winsock2.h>. Hence tftp.c wouldn't compile on WinCE.
2005-11-12Reversed the logic for sockaddr_storage and made our own Curl_sockaddr_storageDaniel Stenberg
struct instead to use.
2005-11-11Moved the sockaddr_storage definition to lib/sockaddr.h and only include thatDaniel Stenberg
in files that actually need the struct.
2005-11-10David Lang fixed IPv6 support for TFTP!Daniel Stenberg
2005-09-21stricter type usage for time variables to avoid picky compiler warningsDaniel Stenberg
2005-09-20typecasts added in an attempt to please the picky compilersDaniel Stenberg
2005-09-15minor changes, the biggest one being using Curl_select()Daniel Stenberg
2005-09-06Fix for bind() on Winsock; AF_UNSPEC (0) is illegal.Gisle Vanem
Should we do this for all targets?
2005-09-06sockets are curl_socket_t to build cleanerDaniel Stenberg
2005-09-04check that bind() returns successDaniel Stenberg
2005-09-02John Kelly added TFTP support to libcurl. A bunch of new error codes wasDaniel Stenberg
added. TODO: add them to docs. add TFTP server to test suite. add TFTP to list of protocols whereever those are mentioned.