aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
2004-05-17fixed a warning on IRIX, deleted trailing whitespaceDaniel Stenberg
2004-05-12Curl_done() and the protocol-specific conn->curl_done() functions now allDaniel Stenberg
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
2004-05-12even if Curl_do() fails, we must call Curl_done() to do proper cleaning upDaniel Stenberg
2004-05-12use size_t better for buffer and alloc lengthsDaniel Stenberg
2004-05-11minor leak in case of error, thanks to "./runtests.pl -n -t 25"Daniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-05prevent warnings when using the gcc option -Wunreachable-codeDaniel Stenberg
2004-05-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-04-27Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-26no longer include curl/types.h, it serves no purposeDaniel Stenberg
2004-04-26added many commentsDaniel Stenberg
2004-04-22- David Byron found and fixed a small bug with the --fail and authenticationDaniel Stenberg
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and communicate with a proxy that requires basic authentication, the proxy properly returns a 407, but the failure detection code doesn't realize it should give up, so curl returns with exit code 0. Test case 162 verifies this.
2004-04-21Fix the "lingering close" problem when re-using a connection, as test caseDaniel Stenberg
160 shows. We got no data and we attempted to re-use a connection. This might happen if the connection was left alive when we were done using it before, but that was closed when we wanted to read from it again. Bad luck. Retry the same request on a fresh connect! Deleted the sockerror variable again, it serves no purpose anymore.
2004-04-20Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-Daniel Stenberg
length limit of the hostname part of the URL.
2004-04-13remove an long time #defined struct member and use the actual "real" nameDaniel Stenberg
instead to make it easier to find/read
2004-04-07getting only a 100 Continue response and nothing else, when talking HTTP,Daniel Stenberg
is now treated as an error by libcurl
2004-04-07renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*Daniel Stenberg
concept, and added lib/README.curlx to explain details about it
2004-04-06New authentication code added, particularly noticable when doing POST or PUTDaniel Stenberg
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.
2004-03-30David Byron made CURLOPT_FAILONERROR work with authentications such as NTLMDaniel Stenberg
or Digest.
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