aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
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.
2002-10-09Junk data could get inserted when saving/getting HTTP headers, as discoveredDaniel Stenberg
by Craig Davison. Now we deal with the 'nread' variable correctly between each header line.
2002-10-07Move the URL concat code to Curl_follow(), and added a proto for thatDaniel Stenberg
function. For Location: following.
2002-10-04as Ralph Mitchell pointed out, the Location: following code needs someDaniel Stenberg
basic ./ and ../ strip-off understanding, and this change introduces with. test cases 49 - 52 test this.
2002-09-23spell fix commentDaniel Stenberg
2002-09-16a follow-up fix to the previous fix for HTTP servers that don't reply *any*Daniel Stenberg
headers at all
2002-09-13better deal with HTTP(S) servers that respond with no headers at all, testDaniel Stenberg
case 306 added to verify that we do right
2002-09-09remove redundant commentDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-09-02James Gallagher's Content-Encoding workDaniel Stenberg
2002-08-29remove the data and conn fields from the Curl_transfer_keeper struct, theyDaniel Stenberg
weren't used anyway and mostly caused confusion
2002-08-08Markus F.X.J. Oberhumer's CURLOPT_NOSIGNAL patchDaniel Stenberg
2002-08-05Make SessionHandle keep record if it is used with the multi interface orDaniel Stenberg
the easy interface, it CANNOT be used by a mixture.
2002-07-29fixed the Curl_cookie_add() invoke to not assume a space after the colonDaniel Stenberg
2002-06-15CURLOPT_BUFFERSIZE allows an application to set a prefered buffer sizeDaniel Stenberg
for receiving data from the network. It is meant as a hint, not as a forced limit.
2002-06-12Moved the secondarysocket cleanup. The 'conn' struct may have been clearedDaniel Stenberg
already at that other place.
2002-06-10Gautam Mani found a socket descriptor leak that happened when FTP transfersDaniel Stenberg
failed and you reinvoked curl_easy_perform().
2002-05-28Adjusted to make curl_multi_perform() work properly even whenDaniel Stenberg
curl_multi_fdset() is not used.
2002-05-05Better support for being used with the multi interface without the *fd_set()Daniel Stenberg
and proper select()ing have been made.
2002-05-03made the DEBUGFUNCTION get called properly on a few more places, especiallyDaniel Stenberg
for DATA_IN and DATA_OUT.
2002-05-02use and set the fd_set pointers instead of the actual values, as then weDaniel Stenberg
work properly with the multi interface when the user has provided the fd_sets!
2002-05-02Hanno Kranzhoff noticed we didn't properly reset the download/upload countersDaniel Stenberg
before transfers, when doing multiple ones on the same handle.
2002-04-17Dirk Manske's fix for HTTP response code 301, that now behaves more likeDaniel Stenberg
browsers do. Which thus *breaks* the RFC 2616...
2002-04-16Dirk Manske brought the patch that introduces two new CURLINFO_* values:Daniel Stenberg
CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.
2002-04-15Jonatan Lander fixed the "Disables POST, goes with GET" output to be moreDaniel Stenberg
connected with reality! ;-)
2002-04-10error code cleanup, use the new SEND/RECV errorsDaniel Stenberg
2002-04-08based on Jacky Lam's "HTTP 1.0 304-only" fix, this change makes a 304 replyDaniel Stenberg
always stop reading after the headers no matter what 'close' is.
2002-04-04Fixes the problem Jacky Jam pointed out, where libcurl will "hang" for anDaniel Stenberg
extra second after having downloaded headers-only
2002-03-20crlf replacement on uploads did not work. test case 128 was added just nowDaniel Stenberg
to make sure it remains functional.
2002-03-19copyright string (year) updateDaniel Stenberg
2002-03-15make sure we return CURLE_WRITE_ERROR if the write callback returnedDaniel Stenberg
an error, even if we were decoding a chunked-encoded transfer
2002-03-142002Daniel Stenberg
2002-02-28Ralph Mitchell's SSL problems made me notice that we didn't increase theDaniel Stenberg
header byte counter properly
2002-02-20Andrés García solved bug report #515228 by making sure the progress meterDaniel Stenberg
is updated even if everything is read in one single pass, as the windows functions apparantly does more often than other systems.
2002-02-06Brent Beardsley found the content-type bug!Daniel Stenberg
2002-01-29upload progress counter fix, removed the adjustable upload buffer sizeDaniel Stenberg
2002-01-29Giaslas Georgios introduced CURLINFO_CONTENT_TYPEDaniel Stenberg
2002-01-25bug report #508235 identified a non-working Location: following, and thisDaniel Stenberg
little fix seems to correct it. another case where we just returned and didn't shut off the reading. This bug is introduced in 7.9.3 due to the new internal "order".
2002-01-23Andrés García found out that we didn't properly stop reading from a connectionDaniel Stenberg
after the headers on a HEAD request. This bug has been added in 7.9.3 and was mnot present earlier.
2002-01-16modified to deal with the new non-blocking versions of Curl_read() andDaniel Stenberg
Curl_write().
2002-01-14Curl_read() now returns a negative return code if EWOULDBLOCK or similarDaniel Stenberg
2002-01-07removed silly check for >=0 of a supposedly unsigned value!Daniel Stenberg