aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
2003-10-24Resuming a download of an already downloaded document, that is trying to getDaniel Stenberg
a range of a document beyond its size, caused libcurl to "hang" until the server closed the connection and then it returned error 18. This is bad. This way, we don't return any error at all, which isn't nice either, as we need to alert the app somehow that the request range was out of size.
2003-10-22Do the auth stuff at the end-of-headers and not at the start-of-body, asDaniel Stenberg
we might not get a body when we get a 401 with a set of WWW-Authenticate: headers. This fixes the problem Kevin Roth detected in 7.10.8-pre4 and pre5. Verified by test case 91.
2003-10-18fixed gcc -Wshadow warningsDaniel Stenberg
2003-10-17Dominick Meglio implemented CURLOPT_MAXFILESIZE and --max-filesize.Daniel Stenberg
2003-10-16password promting support removed from libcurlDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-09-03Re-arranged code to make the proxy-CONNECT loop able to do some of theDaniel Stenberg
authentication negotiations needed for NTLM, Digest etc.
2003-08-29typecast to prevent compiler warningDaniel Stenberg
2003-08-20transfer fix for multi interfaceDaniel Stenberg
2003-08-14Curl_SSL_InitSessions can return error, so check the return code and bailDaniel Stenberg
out if necessary
2003-08-11Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxiesDaniel Stenberg
work.
2003-08-11the new cookie functions that require 'data' passed inDaniel Stenberg
2003-08-06include "share.h" for the cookie sharingDaniel Stenberg
2003-08-05ares awareness/usage/support added. If configure --enable-ares is used, weDaniel Stenberg
build libcurl to use ares for asynch name resolves.
2003-08-04Dirk Manske's patch that introduces cookie support to the share interface.Daniel Stenberg
2003-07-25Removed #include <sys/resource.h>, as pointed out by Henry Bland we don'tDaniel Stenberg
need it.
2003-07-22The NTLM functions now take a 'proxy' argument as well.Daniel Stenberg
2003-07-15Fix to the endless loop of bad Basic authentication as reported in CrisDaniel Stenberg
Bailiff's bug report 768275.
2003-07-04Peter Sylvester's patch was applied that introduces the following:Daniel Stenberg
CURLOPT_SSL_CTX_FUNCTION to set a callback that gets called with the OpenSSL's ssl_ctx pointer passed in and allow a callback to act on it. If anything but CURLE_OK is returned, that will also be returned by libcurl all the way back. If this function changes the CURLOPT_URL, libcurl will detect this and instead go use the new URL. CURLOPT_SSL_CTX_DATA is a pointer you set to get passed to the callback set with CURLOPT_SSL_CTX_FUNCTION.
2003-06-26Adjusted to work properly with the new authentication stuffDaniel Stenberg
Added code to deal with white spaces in relocation headers.
2003-06-12modifiedDaniel Stenberg
2003-06-12corrected a commentDaniel Stenberg
2003-06-12CURLHTTP* renamed to CURLAUTH* and NEGOTIATE is now GSSNEGOTIATE as there'sDaniel Stenberg
a "plain" Negotiate as well.
2003-06-11fixing details for NTLMDaniel Stenberg
2003-06-11when we get the auth headers, we still need to read out the full body responseDaniel Stenberg
as otherwise we can re-send requests on the same connection nicely
2003-06-11Initial take at NTLM authentication. It doesn't really work at this pointDaniel Stenberg
but the infrastructure is there.
2003-06-10Daniel Kouril's patch that adds HTTP negotiation support to libcurl wasDaniel Stenberg
added.
2003-06-02Make the Content-Length info override the Connection: close header, so thatDaniel Stenberg
libcurl will stop reading when the number of bytes have arrived and not wait for a closed socket.
2003-06-02make a more descriptive error message when CURLE_HTTP_RETURNED_ERROR isDaniel Stenberg
returned
2003-05-23Rudy Koento's problem fixed, test case 66 verifies this.Daniel Stenberg
2003-05-22Better Digest stuffDaniel Stenberg
2003-05-22Initial Digest support. At least partly working.Daniel Stenberg
2003-05-12 Dan Fandrich changed CURLOPT_ENCODING to select all supported encodings ifDaniel Stenberg
set to "". This frees the application from having to know which encodings the library supports.
2003-05-12avoid the write loopDaniel Stenberg
2003-05-01corrected a comment about gzip not being supportedDaniel Stenberg
2003-04-30modified to the new cookie function protoDaniel Stenberg
2003-04-22Dan Fandrich corrected the error messages on "bad encoding".Daniel Stenberg
2003-04-11Dan Fandrich's gzip patch appliedDaniel Stenberg
2003-04-08James Bursa fixed a flaw in the content-type extracting code that couldDaniel Stenberg
miss the first letter
2003-02-26No longer loop to read multiple times before returning back from the transferDaniel Stenberg
function, as this could easily end up looping for a very long time (more or less until the whole transfer was done) and no library-using app would want that. Found thanks to a report by Kyle Sallee.
2003-02-24Fixes to bring back the the "Expect: 100-continue" functionality. If theDaniel Stenberg
header is used, we must wait for a 100-code (or timeout), before we send the data. The timeout is merely 1000 ms at this point. We may have reason to set a longer timeout in the future.
2003-01-30typecast the argument to isspace() to an int to prevent warnings on someDaniel Stenberg
compilers
2003-01-30Fixes bug #669059. We now extract the Content-Type better and more accurate.Daniel Stenberg
2003-01-29John McGowan found a problem where the DEBUGFUNCTION was called with badDaniel Stenberg
data on uploads.
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-24Bertrand Demiddelaer found and fixed this memory leak.Daniel Stenberg
2003-01-21when a chunked error is noticed, store the error number in the error stringDaniel Stenberg
to enable better error-tracking
2003-01-20Markus F.X.J. Oberhumer's patch that reduces memory usage quite a bit byDaniel Stenberg
only allocating the scratch memory buffer once it is needed and not always in the handle.
2003-01-16copyright year update in the source headerDaniel Stenberg
2003-01-15no TABs in source codeDaniel Stenberg