- Aug 10, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The callbacks are called when curl_multi_socket_action() is called, not when handles are added. This is now mentioned in the "TYPICAL USAGE" section.
-
Daniel Stenberg authored
When the progress callback is called during the TCP connection, an error return would accidentally not abort the operation as intended but would instead be counted as a failure to connect to that particular IP and libcurl would just continue to try the next. I made singleipconnect() and trynextip() return CURLcode properly. Added bonus: it corrected the error code for bad --interface usages, like tested in test 1084 and test 1085. Reported by: Adam Light Bug: http://curl.haxx.se/mail/lib-2010-08/0105.html
-
Guenter Knauf authored
Final fix (hopefully!) for dll wlink loader; prefer faster internal rm if available.
-
Guenter Knauf authored
-
Guenter Knauf authored
Added the -br switch to dynamic builds which fixes the issue I saw with curl's --version output. Added debug info and symfile for debug builds to linker opts. Added DLL loader for wlink back, but this time dependend on wlink version. Patch posted to the list by malak.jiri AT gmail.com.
-
Guenter Knauf authored
The var %MAKEFLAGS is only set in 3 cases: if set as environment var or as macro definition from commandline, and either with the -u or -ms switch. Since all these cases are unlikely for the average user it should be safe to only test if %MAKEFLAGS is defined; this has the benefit that now all other switches can be used again in addition to the -u which was formerly not possible.
-
Daniel Stenberg authored
Curl_llist_init is never used outside of llist.c and thus it should be static. I also removed the protos for Curl_llist_insert_prev and Curl_llist_remove_next which are functions we removed from llist.c ages ago.
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Aug 09, 2010
-
-
Daniel Stenberg authored
Test 563 is enabled now and verifies that the combo FTP type=A URL, CURLOPT_PORT set and proxy work fine. As a bonus I managed to remove the somewhat odd FTP check in parse_remote_port() and instead converted it to a better and more generic 'slash_removed' struct field. Checking the ->protocol field isn't right since when an FTP:// URL is sent over a HTTP proxy, the protocol is HTTP but the URL was handled by the FTP code and thus slash_removed is set TRUE for this case.
-
Daniel Stenberg authored
-
Yang Tse authored
-
Yang Tse authored
-
Yang Tse authored
-
- Aug 08, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The struct used for storing the message for a completed transfer is now no longer allocated separatly but is kept within the main struct kept for each easy handle so that we avoid one malloc (and the subsequent free).
-
Yang Tse authored
-
- Aug 07, 2010
-
-
Guenter Knauf authored
-
Yang Tse authored
-
U-D5B1PQ1J\Administrador authored
-
Daniel Stenberg authored
In some places where the name 'stream' has been used for naming a function argument that is in fact settable with a setopt() option we now call that argument 'userdata' to make it more obvious that it is in fact possible to set by the application. Suggested by: Jeff Pohlmeyer
-
- Aug 06, 2010
-
-
Guenter Knauf authored
-
Daniel Stenberg authored
-
Yang Tse authored
-
Daniel Stenberg authored
When libcurl internally decided to wait for a 100-continue header, there was no call to the timeout function so there was no timeout callback called when the multi_socket API was used and thus applications became either completely wrong or at least ineffecient depending on how they handled the situation. We now set a timeout to get triggered. Reported by: Ben Darnell Bug: http://curl.haxx.se/bug/view.cgi?id=3039744
-
Guenter Knauf authored
For now removed the .autodepend directive until I've figured out which of my changes broke it again.
-
- Aug 05, 2010
-
-
Yang Tse authored
-
- Aug 04, 2010
-
-
Yang Tse authored
-
Yang Tse authored
-
Daniel Stenberg authored
libssh2 1.2.6 and later handle >32bit file sizes properly even on 32bit architectures and we make sure to use that ability. Reported by: Mikael Johansson Bug: http://curl.haxx.se/mail/lib-2010-08/0052.html
-
- Aug 03, 2010
- Aug 02, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
I added all OBJECTPOINT curl_easy_setopt() options from 178 to 202. Left to add: the five FUNCTIONPOINT (callbacks) options added since: SSH_KEYFUNCTION INTERLEAVEFUNCTION CHUNK_BGN_FUNCTION CHUNK_END_FUNCTION FNMATCH_FUNCTION
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Simply because the TCP might be connected already we cannot skip the proxy connect procedure. We need to be careful to not overload more meaning to the bits.tcpconnect field like this. With this fix, SOCKS proxies work again when the multi interface is used. I believe this regression was added with commit 4b351d01, released as 7.20.1. Left todo: add a test case that verifies this functionality that prevents us from breaking it again in the future! Reported by: Robin Cornelius Bug: http://curl.haxx.se/bug/view.cgi?id=3033966
-