aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
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
2003-01-07Simon Liu's HTTP200ALIASES-patch!Daniel Stenberg
2002-12-18CURLE_HTTP_NOT_FOUND => CURLE_HTTP_RETURNED_ERRORDaniel Stenberg
2002-12-10The initial HTTP request can now be sent in multiple parts, as part of theDaniel Stenberg
regular transfer process. This required some new tweaks, like for example we need to be able to tell the tranfer loop to not chunky-encode uploads while we're transferring the rest of the request...
2002-12-09The fread() callback pointer and associated pointer is now stored in theDaniel Stenberg
connectdata struct instead, and is no longer modified within the 'set' struct as previously (which was a really BAAAD thing).
2002-12-05read and write as much as possible until end of data or EWOULDBLOCK beforeDaniel Stenberg
returning back to the select() loop. Consider this a test so far.
2002-11-28compareheader() was moved over to http.c and got a Curl_ prefixDaniel Stenberg
The chunked transfer upload never stopped due to a silly add before we checked for >0!
2002-11-11moved the bools in the connectdata struct into the substruct namedDaniel Stenberg
ConnectBits where the other bools already are
2002-11-11Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where theDaniel Stenberg
size of the uploaded file is unknown.
2002-10-28when using checkprefix(), the first argument must be the prefix!Daniel Stenberg
2002-10-28Transfer-Encoding: needs 17 bytes passed, not 18Daniel Stenberg
2002-10-28kromJx@crosswinds.net's fix that now uses checkprefix() instead ofDaniel Stenberg
strnequal() when the third argument was strlen(first argument) anyway. This makes it less prone to errors. (Slightly edited by me)
2002-10-23bad headers can come in two kinds, we either treat everything as one bigDaniel Stenberg
badly assumed header, or we think that parts of the buffer is a bad header and the rest is treated as a normal body part
2002-10-21Nikita Schmidt's fix to debian bug report #165382. This is verified withDaniel Stenberg
the new test case 55.
2002-10-18make very sure that we return 'done' properly when a transfer is done, asDaniel Stenberg
otherwise the multi interface gets problems
2002-10-18if we found no string on the Location: line, don't try to follow itDaniel Stenberg
2002-10-17Make the COOKIESESSION work better by creating a list of cookie files filesDaniel Stenberg
when given in the curl_easy_setopt() and then parse them all on the first curl_easy_perform() call instead.
2002-10-11When we receive a "bad header" we must sure not to write down the data partDaniel Stenberg
as well, as then we write the same data twice.