Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2007-11-24 | reqdata doesn't exist anymore and the path moved to the UrlState struct | Daniel Stenberg | |
2007-11-24 | struct HandleData is now called struct SingleRequest, and is only for data that | Daniel Stenberg | |
is inited at the start of the DO action. I removed the Curl_transfer_keeper struct completely, and I had to move out a few struct members (that had to be set before DO or used after DONE) to the UrlState struct. The SingleRequest struct is accessed with SessionHandle->req. One of the biggest reasons for doing this was the bunch of duplicate struct members in HandleData and Curl_transfer_keeper since it was really messy to keep track of two variables with the same name and basically the same purpose! | |||
2007-11-15 | Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into | Daniel Stenberg | |
do_init() and do_complete() which now are called first and last in the DO function. It simplified the flow in multi.c and the functions got more sensible names! | |||
2007-11-14 | use the existing variable instead | Daniel Stenberg | |
2007-11-14 | Fix how TFTP connections are treated when re-used, if the SessionHandle has | Daniel Stenberg | |
been used for other protocols in between. I found this when test 2004 started to fail for me! | |||
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-10-25 | fix the check | Daniel Stenberg | |
2007-10-25 | Fixed a TFTP memory leak. Enabled test 2003 to verify this. | Daniel Stenberg | |
2007-10-17 | We use this ZERO_NULL to avoid picky compiler warnings, | Yang Tse | |
when assigning a NULL pointer to a function pointer var. | |||
2007-10-12 | Added per-protocol callback static tables, replacing callback ptr storage | Patrick Monnerat | |
in the connectdata structure by a single handler table ptr. | |||
2007-10-04 | Kim Rinnewitz reported that --local-port didn't work with TFTP transfers. | Daniel Stenberg | |
This happened because the tftp code always uncondionally did a bind() without caring if one already had been done and then it failed. I wrote a test case (1009) to verify this, but it is a bit error-prone since it will have to pick a fixed local port number and since the tests are run on so many different hosts in different situations I add it in disabled state. | |||
2007-09-07 | TFTP now reports the "not defined" TFTP error code 0 as an error, | Dan Fandrich | |
not success. | |||
2007-08-30 | Renamed several libcurl error codes and options to make them more general | Dan Fandrich | |
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3) | |||
2007-08-29 | Added lots of consts | Dan Fandrich | |
2007-06-12 | remove unused field in the state struct | Daniel Stenberg | |
2007-05-24 | Song Ma filed bug report #1724016 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading glob-ranges for TFTP was broken in CVS. | |||
2007-05-18 | better fix for the dl/ul counters | Daniel Stenberg | |
2007-05-18 | Feng Tu reported that curl -w did wrong on TFTP transfers in | Daniel Stenberg | |
bug report #1715394 (http://curl.haxx.se/bug/view.cgi?id=1715394), and the transfer-related info "variables" were indeed overwritten with zeroes wrongly and have now been adjusted. The upload size still isn't accurate. | |||
2007-05-18 | bail out with error codes on failures | Daniel Stenberg | |
2007-05-17 | Feng Tu pointed out a division by zero error in the TFTP connect timeout | Daniel Stenberg | |
code for timeouts less than fice seconds, and also provided a fix for it. | |||
2007-04-11 | Fixed some out of memory handling issues. | Dan Fandrich | |
2007-03-26 | Internal function Curl_select() renamed to Curl_socket_ready() | Yang Tse | |
2007-02-26 | Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files | Gisle Vanem | |
since they're already included through "setup.h". | |||
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2007-02-06 | fix for millisecond resolution timeouts | Yang Tse | |
2007-02-05 | - Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS | Daniel Stenberg | |
and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already. | |||
2007-02-05 | compiler warning fix | Yang Tse | |
2007-01-16 | - Armel Asselin improved libcurl to behave a lot better when an easy handle | Daniel Stenberg | |
doing an FTP transfer is removed from a multi handle before completion. The fix also fixed the "alive counter" to be correct on "premature removal" for all protocols. | |||
2007-01-16 | Fixed a small memory leak in tftp uploads discovered by curl's memory leak | Dan Fandrich | |
detector. Also changed tftp downloads to URL-unescape the downloaded file name. | |||
2006-11-09 | Ciprian Badescu found a SIGSEGV when doing multiple TFTP transfers using the | Daniel Stenberg | |
multi interface, but I could also repeat it doing multiple sequential ones with the easy interface. Using Ciprian's test case, I could fix it. | |||
2006-09-07 | Major overhaul introducing http pipelining support and shared connection | Daniel Stenberg | |
cache within the multi handle. | |||
2006-08-30 | Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead. | Gisle Vanem | |
2006-08-29 | Watcom lacks <sys/time.h>. | Gisle Vanem | |
2006-08-19 | Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE | Daniel Stenberg | |
command on subsequent requests on a re-used connection unless it has to. | |||
2006-07-29 | Winsock and Cygwin need address family specification before bind(), this ↵ | Yang Tse | |
should be harmless for others. | |||
2006-07-19 | Fix compiler warnings | Yang Tse | |
2006-05-09 | oops, could return an uninitialized variable | Daniel Stenberg | |