Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-21 | TFTP: send legal timeout value | Daniel Stenberg | |
Eric Mertens posted bug #3003705: when we made TFTP use the correct timeout option when sent to the server (fixed May 18th 2010) it became obvious that libcurl used invalid timeout values (300 by default while the RFC allows nothing above 255). While of course it is obvious that as TFTP has worked thus far without being able to set timeout at all, just removing the setting wouldn't make any difference in behavior. I decided to still keep it (but fix the problem) as it now actually allows for easier (future) customization of the timeout. (http://curl.haxx.se/bug/view.cgi?id=3003705) | |||
2010-05-21 | TFTP: don't ack if wrong block num is received | Daniel Stenberg | |
If an unexpected block number was received, break out of the switch loop. | |||
2010-05-21 | TFTP: block id wrap bug fix | Daniel Stenberg | |
In a normal expression, doing [unsigned short] + 1 will not wrap at 16 bits so the comparisons and outputs were done wrong. I added a macro do make sure it gets done right. Douglas Kilpatrick filed bug report #3004787 about it: http://curl.haxx.se/bug/view.cgi?id=3004787 | |||
2010-05-18 | TFTP: send timeout option correctly | Daniel Stenberg | |
Eric Mertens posted bug report #3003005 pointing out that the libcurl TFTP code was not sending the timeout option properly to the server, and suggested a fix. (http://curl.haxx.se/bug/view.cgi?id=3003005) | |||
2010-04-16 | Curl_setup_transfer: no longer returns anything | Daniel Stenberg | |
This function could only return CURLE_OK and by changing it to a void instead, we can simplify code all over. | |||
2010-04-16 | tftp_rx: Value stored to 'sbytes' is never read | Daniel Stenberg | |
2010-03-26 | Make rate-limitation logic smoother | Ben Greear | |
This gives a smoother rate limitation performance by using sub-second pauses and also taking the buffer sizes into account. | |||
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
2010-03-21 | Fix tftp return codes and tsize upload handling | Ben Greear | |
Error codes were not properly returned to the main curl code (and on to apps using libcurl). tftp was crapping out when tsize == 0 on upload, but I see no reason to fail to upload just because the remote file is zero-length. Ignore tsize option on upload. | |||
2010-03-18 | fix warning about conversions between curl_off_t and long | Daniel Stenberg | |
2010-03-06 | - Ben Greear brought a patch that fixed the rate limiting logic for TFTP when | Daniel Stenberg | |
the easy interface was used. | |||
2010-03-01 | - Ben Greear provided an update for TFTP that fixes upload. | Daniel Stenberg | |
2010-02-04 | fix printf-style format strings | Yang Tse | |
2010-01-28 | fix printf-style format strings | Yang Tse | |
2010-01-21 | make tftp_translate_code() static, it is only used from within tftp.c | Yang Tse | |
2009-11-28 | s/socklen_t/curl_socklen_t/g | Yang Tse | |
2009-11-28 | Fix compiler warning: unused variable `data' | Yang Tse | |
2009-11-27 | - Markus Koetter provided a polished and updated version of Chad Monroe's TFTP | Daniel Stenberg | |
rework patch that now integrates TFTP properly into libcurl so that it can be used non-blocking with the multi interface and more. BLKSIZE also works. The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from the command line. | |||
2009-11-18 | Make usage of calloc()'s arguments consistent with rest of code base | Yang Tse | |
2009-08-12 | - Carsten Lange reported a bug and provided a patch for TFTP upload and the | Daniel Stenberg | |
sending of the TSIZE option. I don't like fixing bugs just hours before a release, but since it was broken and the patch fixes this for him I decided to get it in anyway. | |||
2009-07-24 | changes to silent compiler warnings with 64bit systems. | Gunter Knauf | |
2009-07-24 | changes to silent compiler warnings with 64bit systems. | Gunter Knauf | |
2009-07-23 | changes to silent compiler warnings with 64bit systems. | Gunter Knauf | |
2009-07-23 | fixed brace error. | Gunter Knauf | |
2009-07-23 | changes to silent compiler warnings with 64bit systems. | Gunter Knauf | |
2009-05-28 | fix compiler warning: unused parameter | Yang Tse | |
2009-05-10 | Fix function call pointed data size argument mismatch on 64Bit systems | Yang Tse | |
2009-05-07 | - Vijay G filed bug report #2723236 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=2723236) identifying a problem with libcurl's TFTP code and its lack of dealing with the OACK packet. | |||
2009-05-02 | Use build-time configured curl_socklen_t instead of socklen_t | Yang Tse | |
2009-04-29 | - Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219) | Daniel Stenberg | |
I've now made TFTP "connections" not being kept for re-use within libcurl. TFTP is UDP-based so the benefit was really low (if even existing) to begin with so instead of tracking down to fix this problem we instead removed the re-use. I also enabled test case 1099 that I wrote a few days ago to verify that this change fixes the reported problem. | |||
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2009-02-14 | In MSVC9 'time_t' is a 64-bit quantity. This causes a truncation warning | Gisle Vanem | |
when an 'int' is assigned to a 'time_t' variable. Hence redefine 'retry_time' and 'retry_max' to 'time_t'. | |||
2009-01-28 | fix compiler warning: conversion from 'int' to 'bool', possible loss of data | Yang Tse | |
2009-01-28 | fix compiler warning: enumerated type mixed with another type | Yang Tse | |
2009-01-26 | - Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app | Daniel Stenberg | |
to set desired block size to use for TFTP transfers instead of the default 512 bytes. | |||
2009-01-21 | Fixed a couple more locale-dependent toupper conversions, mainly for | Dan Fandrich | |
clarity. This does fix one problem that causes ;type=i FTP URLs to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is used (test case 561) Added tests 561 and 1092 through 1094 to test various combinations of ;type= and ;mode= URLs that could potentially fail in the Turkish locale. | |||
2009-01-13 | Grant Erickson fixed timeouts for TFTP | Daniel Stenberg | |
2008-12-19 | - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl | Daniel Stenberg | |
now has an improved ability to do right when the multi interface (both "regular" and multi_socket) is used for SCP and SFTP transfers. This should result in (much) less busy-loop situations and thus less CPU usage with no speed loss. | |||
2008-11-14 | Added some #ifdefs around header files and change the EAGAIN test to | Dan Fandrich | |
fix compilation on Cell (reported by Jeff Curley). | |||
2008-09-29 | Removed unneeded includes of signal.h and setjmp.h | Dan Fandrich | |
2008-09-02 | Removed some redundant type casts | Dan Fandrich | |
2008-07-30 | Undo using the sreadfrom() wrapper to replace recvfrom() in our code. | Yang Tse | |
2008-07-21 | fix compiler warning: comparison between signed and unsigned | Yang Tse | |
2008-07-21 | Use the sreadfrom() wrapper to replace recvfrom() in our code. | Yang Tse | |
2008-02-11 | Yang Tse pointed out a few remaining quirks from my timeout refactoring from | Daniel Stenberg | |
Feb 7 that didn't abort properly on timeouts. These are actually old problems but now they should be fixed. | |||
2008-02-11 | Fixed unused variable warning. | Dan Fandrich | |
2008-02-07 | - Refactored a lot of timeout code into a few functions in an attempt to make | Daniel Stenberg | |
them all use the same (hopefully correct) logic to make it less error-prone and easier to introduce library-wide where it should be used. | |||
2008-01-15 | Calls to Curl_failf() are not supposed to provide a trailing newline as the | Daniel Stenberg | |
function itself adds that. Fixed on 50 or something strings! | |||
2008-01-09 | fix compiler warning | Yang Tse | |
2007-12-08 | All static functions that were previously name Curl_* something no longer | Daniel Stenberg | |
use that prefix as we use that prefix only for library-wide internal global symbols. |