aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
AgeCommit message (Collapse)Author
2005-02-09David Byron identified the lack of SSL_pending() use, and this is my takeDaniel Stenberg
at fixing this issue.
2005-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
2005-02-08Curl_wait_for_resolv() no longer disconnects on failure, but leaves thatDaniel Stenberg
operation to the caller. Disconnecting has the disadvantage that the conn pointer gets completely invalidated and this is not handled on lots of places in the code.
2005-02-04David Byron pointed out that this -1 on the buffer size is pointless sinceDaniel Stenberg
the buffer is already BUFSIZE +1 one big to fit the extra trailing zero. This change is reported to fix David's weird SSL problem...
2005-01-29Using the multi interface, and doing a requsted a re-used connection thatDaniel Stenberg
gets closed just after the request has been sent failed and did not re-issue a request on a fresh reconnect like the easy interface did. Now it does! (define CURL_MULTIEASY, run test case 160)
2005-01-21FTP third transfer support overhaul. See CHANGES for details.Daniel Stenberg
2005-01-11Dan Torop cleaned up a few no longer used variables from David Phillips'Daniel Stenberg
select() overhaul fix.
2005-01-11Cyrill Osterwalder posted a detailed analysis about a bug that occurs whenDaniel Stenberg
using a custom Host: header and curl fails to send a request on a re-used persistent connection and thus creates a new connection and resends it. It then sent two Host: headers. Cyrill's analysis was posted here: http://curl.haxx.se/mail/archive-2005-01/0022.html
2004-12-05Dan Fandrich added the --disable-cookies option to configure to buildDaniel Stenberg
libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar.
2004-12-03Bug report #1078066: when a chunked transfer was pre-maturely closed exactlyDaniel Stenberg
at a chunk boundary it was not considered an error and thus went unnoticed. Added test case 207 to verify.
2004-11-26I changed my mind. Remove ioctl() macro in setup.h instead.Gisle Vanem
2004-11-26Renamed urldata.h members 'ioctl*' to 'ioctrl*' due toGisle Vanem
clash with djgpp ioctl() macro in setup.h.
2004-11-26As reported in Mandrake's bug tracker bug 12289Daniel Stenberg
(http://qa.mandrakesoft.com/show_bug.cgi?id=12289), curl would print a newline to "finish" the progress meter after each redirect and not only after a completed transfer.
2004-11-24HTTP "auth done right". See lib/README.httpauthDaniel Stenberg
2004-11-19David Phillips' FD_SETSIZE fixDaniel Stenberg
2004-11-18Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings andDaniel Stenberg
errors.
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-25Tomas Pospisek filed bug report #1053287 that proved -C - and --fail on aDaniel Stenberg
file that was already completely downloaded caused an error, while it doesn't if you don't use --fail! I added test case 194 to verify the fix. Grrr. CURLOPT_FAILONERROR is now added to the list stuff to remove in libcurl v8 due to all the kludges needed to support it.
2004-10-19Alexander Krasnostavsky made it possible to make FTP 3rd party transfers withDaniel Stenberg
both source and destination being the same host. It can be useful if you want to move a file on a server or similar.
2004-10-06Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabledDaniel Stenberg
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if the new URL would provide the resumed file. Test case 188 added to verify the fix (together with existing test 99).
2004-09-16Location: problem with bad original URL, identified in bug report #1029478Daniel Stenberg
2004-09-13no longer includes getdate.h, there's no need for itDaniel Stenberg
2004-08-30Make "Proxy-Connection: close" close the current proxy connection, asDaniel Stenberg
Roman Koifman found out.
2004-08-20Alexander Krasnostavsky made the write callback get called even when a zeroDaniel Stenberg
byte file is downloaded.
2004-08-10more typecasts to please picky compilersDaniel Stenberg
2004-08-09typecast the assigment of an unsigned variable to a signed one to preventDaniel Stenberg
picky warnings
2004-08-09->fread() should get a size_t variable passed inDaniel Stenberg
2004-07-16deal with negative Content-Length: headers by ignoring the infoDaniel Stenberg
2004-07-01Variable type cleanups to please the picky MIPSPro compiler.Daniel Stenberg
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-06-22pass an int pointer when it expects an int pointer...Daniel Stenberg
2004-06-21The read callback can now return CURL_READFUNC_ABORT to stop a transfer.Daniel Stenberg
2004-06-16Alexander Krasnostavsky fixed a flaw in the 3rd party transfer code thatDaniel Stenberg
didn't properly check return code.
2004-06-09Alexander Krasnostavsky's fix to make libcurl build fine with configureDaniel Stenberg
--disable-http, which thus builds a libcurl without HTTP support.
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-05-25initial support for "uploading" to file:// URLsDaniel Stenberg
2004-05-17I made Curl_done() take a pointer-pointer in the first argument instead, andDaniel Stenberg
if the connection is killed it blanks the pointer it points to, to make it easier to detect usage problems whereever Curl_done() is used.
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.