aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
2004-03-22Makes CURLINFO_CONTENT_LENGTH_DOWNLOAD work even if CURLOPT_NOBODY is setDaniel Stenberg
true.
2004-03-16removed the min() macro defineDaniel Stenberg
2004-03-11Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.Daniel Stenberg
2004-03-10Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg
argument passing and try to convert to double only when providing data to the external world.
2004-03-10curl_socket_t mistakes cleanupDaniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-05more fixing to make the progress/getinfo stuff to work properly when doingDaniel Stenberg
file: transfers too
2004-03-02Yet another curl_off_t printf format attempt, we now exclude the %-letter fromDaniel Stenberg
FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
2004-03-02use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity ofDaniel Stenberg
having to redef that name
2004-03-01Now uses CURL_FORMAT_OFF_T instead of %OdDaniel Stenberg
Fixed the check for bad resumes. Made test case 99 work and proved a bug in test case ... eh, was it 32?
2004-02-20we call the macro CURLMAX() isntead of MAX(), just because it turned upDaniel Stenberg
it collides with another MAX define on some platforms (like netbsd 1.6.1)
2004-02-18removed some "jhrg" from commentsDaniel Stenberg
2004-02-15CURLcode/int cleanup to reduce IRIX warningsDaniel Stenberg
Removed some dates/names in the comments.
2004-02-13Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!Daniel Stenberg
2004-02-06The MIPSPro compiler complains on constructs such as "(void)foo;" soDaniel Stenberg
we avoid it where possible.
2004-02-02set the 'retry' bit to TRUE when the connection is about to be retried,Daniel Stenberg
this allows the HTTP code to *not* return a failure just because no data has been received from the server
2004-01-30make sure the connection is closed when it was detected reset!Daniel Stenberg
2004-01-30Somewhat crude attempt at fixing the test 91 failures. I commit this nowDaniel Stenberg
so that the automatic testing hosts will test these changes over the weekend.
2004-01-28Chunked-transfers should have an additional CRLF after the final 0 CRLFDaniel Stenberg
sequence.
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-21use the proper timecond defines, not the obsolete ones!Daniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-12-18redirect from a bad url such as "www.com?moo=foo" to an absolute path didn'tDaniel Stenberg
work, as reported by John McGowan
2003-12-10assert that we get a good index to Curl_transfer()Daniel Stenberg
2003-12-03Ignore content-length when chunked transfer-encoding is transfered.Daniel Stenberg
2003-12-02fix compiler warningsDaniel Stenberg
2003-12-02If HAVE_MSG_NOSIGNAL is set, we use MSG_NOSIGNAL when we call send() andDaniel Stenberg
recv() and we no longer attempt to ignore the SIGPIPE signal.
2003-11-24FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe itDaniel Stenberg
2003-11-20combine the two identical casesDaniel Stenberg
2003-11-06unitialized variable fix, reported by both Marty Kuhrt and benjamin gerardDaniel Stenberg
2003-10-24Resuming a download of an already downloaded document, that is trying to getDaniel Stenberg
a range of a document beyond its size, caused libcurl to "hang" until the server closed the connection and then it returned error 18. This is bad. This way, we don't return any error at all, which isn't nice either, as we need to alert the app somehow that the request range was out of size.
2003-10-22Do the auth stuff at the end-of-headers and not at the start-of-body, asDaniel Stenberg
we might not get a body when we get a 401 with a set of WWW-Authenticate: headers. This fixes the problem Kevin Roth detected in 7.10.8-pre4 and pre5. Verified by test case 91.
2003-10-18fixed gcc -Wshadow warningsDaniel Stenberg
2003-10-17Dominick Meglio implemented CURLOPT_MAXFILESIZE and --max-filesize.Daniel Stenberg
2003-10-16password promting support removed from libcurlDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-09-03Re-arranged code to make the proxy-CONNECT loop able to do some of theDaniel Stenberg
authentication negotiations needed for NTLM, Digest etc.
2003-08-29typecast to prevent compiler warningDaniel Stenberg
2003-08-20transfer fix for multi interfaceDaniel Stenberg
2003-08-14Curl_SSL_InitSessions can return error, so check the return code and bailDaniel Stenberg
out if necessary
2003-08-11Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxiesDaniel Stenberg
work.
2003-08-11the new cookie functions that require 'data' passed inDaniel Stenberg
2003-08-06include "share.h" for the cookie sharingDaniel Stenberg
2003-08-05ares awareness/usage/support added. If configure --enable-ares is used, weDaniel Stenberg
build libcurl to use ares for asynch name resolves.
2003-08-04Dirk Manske's patch that introduces cookie support to the share interface.Daniel Stenberg
2003-07-25Removed #include <sys/resource.h>, as pointed out by Henry Bland we don'tDaniel Stenberg
need it.
2003-07-22The NTLM functions now take a 'proxy' argument as well.Daniel Stenberg
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.