aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
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
2001-05-11checkheader() added to check headers+contents instead of the previousDaniel Stenberg
strnequal() approach that really didn't follow the RFC properly
2001-05-11Ingo Wilken's redirect fixesDaniel Stenberg
2001-05-10Ingo Wilken's patch to support multiple spaces after "Location:"Daniel Stenberg
2001-05-03Cris Bailiff's fix to never attempt to get the body of a 304-reply!Daniel Stenberg
2001-04-27When Content-Length:0 is received, we now bail now and return successDaniel Stenberg
directly after all the headers are received!
2001-04-27improved treatment of "Content-Length: 0", which is done by havingDaniel Stenberg
maxdownload set to -1 when not used
2001-04-18Remade resume stuff to keep data in the connectdata struct instead of theDaniel Stenberg
main handle struct to work with persistant connections
2001-04-11calling curl_easy_perform() with no URL set, now returns an error asDaniel Stenberg
early as possible
2001-04-03bugfixed the Location: following that must've been bad since the persistantDaniel Stenberg
connections were introduced
2001-04-03- disabling port on absolute redirects is wrongDaniel Stenberg
- removed #ifdefed code
2001-04-03better error checks for failure conditions (based on Puneet Pawaia's reports)Daniel Stenberg
2001-03-27make sure the alarm is off when returning from curl_easy_perform()Daniel Stenberg
2001-03-26'Connection: keep-alive' is now understood when sent by a HTTP/1.0 serverDaniel Stenberg
as an indication of a persistant connection
2001-03-23DONT TOUCH the data->url as it may point to read-only memory!!!Daniel Stenberg
2001-03-23now always stops reading a HEAD reply after all the headers have been returnedDaniel Stenberg
RFC 2616, section 9.4 says: "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response."
2001-03-22Treat 302-redirects the same way we treat 303-redirectsDaniel Stenberg
2001-03-22reset the follow location counter in Curl_perform() so that we can followDaniel Stenberg
new locations on the same connection that was previously followed on
2001-03-19Added support for HTTP code 100 continue, as 8.2.3 in RFC2616 definesDaniel Stenberg
2001-03-16detect if chunked transfers are abortedDaniel Stenberg
2001-03-13Added a failf() error message when the chunked read returns failureDaniel Stenberg
2001-03-12updated the comment for the chunked readingDaniel Stenberg
2001-03-12Added infof() calls for persistant connection info, we are very likely toDaniel Stenberg
need these at least for debugging 7.7 and probably later as well...
2001-03-09for HTTP/1.0 we default to non keep-alive connections, but when we get aDaniel Stenberg
1.0-reply from a proxy we use and the Proxy-Connection: keep-alive header is used, we switch it on and live happily ever after
2001-03-09prefix changes curl_ to Curl_Daniel Stenberg
made it work (partly) with persistant connections for HTTP/1.0 replies moved the 'newurl' struct field for Location: to the connectdata struct