aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
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
2002-01-07added proper breaks in the switch()Daniel Stenberg
2002-01-07HTTP response 204 should be treated similar to 304, that is we must notDaniel Stenberg
expect (nor read) any response-body
2002-01-03merged the multi-dev branch back into MAIN againDaniel Stenberg
2001-12-04i'm soooo funnyDaniel Stenberg
2001-11-20Georg Horn's STARTTRANSFER_TIME patchDaniel Stenberg
2001-11-07we use signal() to ignore signals only as long as we have to, and we nowDaniel Stenberg
restore the previous (if any) signal handler properly on return.
2001-11-06myalarm() is history, we now use HAVE_ALARM and we now do our very best toDaniel Stenberg
1 - restore the previous sigaction struct as soon as we are about to shut off our timeout 2 - restore the previous alarm() timeout, in case an application or similar had it running before we "borrowed" it for a while. No, this does not fix the multi-thread problem you get with alarm(). This patch should correct bug report #478780: //sourceforge.net/tracker/?func=detail&atid=100976&aid=478780&group_id=976 If not, please post details!
2001-11-02failf() now only overwrites the error buffer the first time it gets calledDaniel Stenberg
for each *_perform(). It makes things a lot easier, as the first one that detects the error get to write the final error reason...
2001-11-01Update the byte counters in the loop so that aborted transfers have theDaniel Stenberg
information as well. Improves debug outputs etc.
2001-10-31If Curl_do() fails with CURLE_WRITE_ERROR on a re-used connection, thisDaniel Stenberg
new logic can retry the same operation on a new connection!
2001-10-22failed transfers will now close the connectionDaniel Stenberg
2001-10-19now counts header size return from server and if nothing is returned from aDaniel Stenberg
HTTP server we return error
2001-10-19CURLOPT_FAILONERROR now only returns error if the HTTP code is 400 or aboveDaniel Stenberg
unconditionalliy. Previously, the code check was for >= 300 unless follow- location was enabled...
2001-10-17call Curl_done() in Curl_perform() after Transfer() was called, even it itDaniel Stenberg
returned an error as there might be stuff in there we must free/cleanup. This fixes the memory leak Yanick Pelletier posted about 16 Oct 2001
2001-10-12better check for absolute URL redirects, adjusted to new Curl_tvdiff() protoDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-10-01removed obsoletetd myalarm() callsDaniel Stenberg
2001-09-28filetime should be -1 if the remote time was unknown as 0 is actually aDaniel Stenberg
valid time. we now store the filetime as a long to know for sure it can hold -1 (there exist some unsigned time_t cases)
2001-09-26Now we're setting a default domain for received cookies so that we canDaniel Stenberg
properly match those cookies in subsequent requests
2001-09-12moved a 100K buffer from the transfer loop to the urlstate struct, as itDaniel Stenberg
seriously decreases the amount of used stack space
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-30Major rename and redesign of the internal "backbone" structs. Details willDaniel Stenberg
be posted in a minute to the libcurl list.
2001-08-28Georg Huettenegger added code to deal with error 417 when doing form posts.Daniel Stenberg
NOTE: we might do this for *ALL* errors when doing form posts.
2001-08-28Added SSL session ID caching, moved some SSL code from url.c to ssluse.cDaniel Stenberg
2001-08-21Georg Huettenegger's patch curl-7.8.1-pre5-patch-20010819Daniel Stenberg
2001-08-15calls Curl_initinfo() in perform().Daniel Stenberg
2001-08-14const and (un)signed fixesDaniel Stenberg
2001-08-10corrected minor source indentation errorDaniel Stenberg
2001-08-05- Sergio Ballestrero provided a patch for reading responses from NCSA httpdDaniel Stenberg
1.5.x servers, as they return really screwed up response headers when asked for with HTTP 1.1.
2001-08-03httpreq cleanup fixDaniel Stenberg
2001-08-02FD_ZERO() the keepfd variables properly when keepon is modified (Tomasz LackiDaniel Stenberg
reported 12 Jul 2001)
2001-05-22store httpcode _before_ doing the FAILONERROR check so that getinfo worksDaniel Stenberg
afterwards (bug #426442)
2001-05-21slightly "hackish" approach to disable SSL during download if the connectionDaniel Stenberg
is a FTPS connection as the data transfer is then done unencrypted!
2001-05-12Added tons of comments all overDaniel Stenberg