aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
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
2001-03-08return from transfer when all headers have been received and nobody is set,Daniel Stenberg
as is the case when doing HEAD requests
2001-03-07"Transfer-Encoding: chunked" support addedDaniel Stenberg
2001-03-07initial chunked transfer-encoding supportDaniel Stenberg
2001-03-05set download size properly for HTTP downloadsDaniel Stenberg
2001-03-02remade the port number stuff so that following locations work and doingDaniel Stenberg
intermixed HTTP and FTP persistant connections also work!
2001-02-22Now persistant connection download works thanks to the Content-Length takenDaniel Stenberg
into account
2001-02-20multiple connection support initial commitDaniel Stenberg
2001-02-07no longer #includes "getenv.h"Daniel Stenberg
2001-01-31Curl_read() uses ssize_t nowDaniel Stenberg
2001-01-31fixed up the telnet to work (using support from Linus Nielsen)Daniel Stenberg
2001-01-30changed order of the range and follow-location checks so that a range-requestDaniel Stenberg
will work even when following a Location:
2001-01-27bettersupport for HTTP return codes 300-399Daniel Stenberg
2001-01-26The check for that content-range is received must only be made if we requestedDaniel Stenberg
GET resume. Other resumes are upload-wise and don't care about this header in the download stream
2001-01-25converted to use Curl_read() and Curl_write()Daniel Stenberg
2001-01-19No more URL length restrictionsDaniel Stenberg
2001-01-17download and highlevel are replaced with transferDaniel Stenberg