- Sep 01, 2010
-
-
Daniel Stenberg authored
Add a timeout check for handles in the state machine so that they will timeout in all states disregarding what actions that may or may not happen. Fixed a bug in socket_action introduced recently when looping over timed out handles: it wouldn't assign the 'data' variable and thus it wouldn't properly take care of handles. In the update_timer function, the code now checks if the timeout has been removed and then it tells the application. Previously it would always let the remaining timeout(s) just linger to expire later on.
-
Daniel Stenberg authored
Curl_expire() set to 0 expires ALL timeouts so it should only be called if we truly and really want to remove all timeouts for the handle.
-
Daniel Stenberg authored
Make use of the helper function Curl_timeleft() instead of duplicating code.
-
- Aug 30, 2010
-
-
Daniel Stenberg authored
Each easy handle has a list of timeouts, so as soon as the main timeout for a handle expires, we must make sure to get the next entry from the list and re-add the handle to the splay tree. This was attempted previously but was done poorly in my commit 232ad654.
-
Dan Fandrich authored
-
- Aug 28, 2010
-
-
Daniel Stenberg authored
When a new transfer is about to start we now set the proper timeouts to expire for the multi interface if they are set for the handle. This is a follow-up bugfix to make sure that easy handles timeout properly when the times expire and the multi interface is used. This also improves curl_multi_timeout().
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Fabian Keil authored
-
Fabian Keil authored
-
Fabian Keil authored
'm4 version found. You need a GNU m4 installed!' is a bit confusing.
-
Daniel Stenberg authored
-
- Aug 25, 2010
-
-
Dan Fandrich authored
Fixed some issues that caused xmllint failures, added features and keywords, fixed some quotes and removed some <strip> sections that unnecessarily limited test checking.
-
Dan Fandrich authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
As the VC and RISCOS makefiles don't use the .inc file
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Introduced in the initial gopher commits, there was added logic to do GOPHER test serving in the pingpong server but as it resembles HTTP much more than FTP or SMTP, the gopher testing has been moved over to instead use the sws (HTTP) server. This change simply removes unused code.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Patches over email very easily lose CRLF line endings in files otherwise LF-only so I had to put them back where needed.
-
Daniel Stenberg authored
The fix for the busyloop really only is a temporary work-around. It causes a BLOCKING behavior which is a NO-NO. This function should rather be split up in a do and a doing piece where the pieces that aren't possible to send now will be sent in the doing function repeatedly until the entire request is sent.
-
Cameron Kaiser authored
-
Cameron Kaiser authored
-
Cameron Kaiser authored
-
Cameron Kaiser authored
-
Daniel Stenberg authored
HTTP allows that a server sends trailing headers after all the chunks have been sent WITHOUT signalling their presence in the first response headers. The "Trailer:" header is only a SHOULD there and as we need to handle the situation even without that header I made libcurl ignore Trailer: completely. Test case 1116 was added to verify this and to make sure we handle more than one trailer header properly. Reported by: Patrick McManus Bug: http://curl.haxx.se/bug/view.cgi?id=3052450
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Since NTLM was made to work with the NSS API as well, the primary SSL alternatives will be built with NTLM support in libcurl.
-
Daniel Stenberg authored
It is really fast now
-
- Aug 24, 2010
-
-
Dan Fandrich authored
It was introduced in commit eeb2cb05 along with the -F type= change. Also fixed a typo in the name of the magic filename= parameter. Tweaked tests 39 and 173 to better test this path.
-
Ben Greear authored
-
- Aug 23, 2010
-
-
Dan Fandrich authored
-
- Aug 22, 2010
-
-
Daniel Stenberg authored
The numerical value passed to CURLOPT_RESUME_FROM for FTP uploads is interpreted and used as position where to resume the _reading_ of the local file and it will "blindly" append that data on the remote file. This was certainly not clear in the docs previously. Reported by: catalin Bug: http://curl.haxx.se/bug/view.cgi?id=3048174
-
- Aug 20, 2010
-
-
Dirk Manske authored
The correctly extracted errno contents were mistakenly overwritten by a newer value that wasn't the correct error value. Bug: http://curl.haxx.se/mail/lib-2010-08/0242.html
-
Daniel Stenberg authored
The -F option allows some custom parameters within the given string, and those strings are separated with semicolons. You can for example specify "name=daniel;type=text/plain" to set content-type for the field. However, the use of semicolons like that made it not work fine if you specified one within the content-type, like for: "name=daniel;type=text/plain;charset=UTF-8" ... as the second one would be seen as a separator and "charset" is no parameter curl knows anything about so it was just silently discarded. The new logic now checks if the semicolon and following keyword looks like a parameter it knows about and if it isn't it is assumed to be meant to be used within the content-type string itself. I modified test case 186 to verify that this works as intended. Reported by: Larry Stone Bug: http://curl.haxx.se/bug/view.cgi?id=3048988
-
Guenter Knauf authored
The script works exactly same as the Perl one except for one thing: when the text descriptions generated with openssl are included then the md5 fingerprints are missing; seems openssl has either a bug or a feature which prints the md5 fingerprint output to stdout instead of writing them to specified file; this script could here do the same as what the Perl scripr does (redirect stdout into file) but this makes the script take up double the time because it needs to launch cmd.exe 140 times (fo each openssl call). So I think for now we just ommit the md5 fingerprints, and see if openssl will be fixed.
-
Guenter Knauf authored
It seems that its time to look at some better ideas for the win32 non-configure builds; probably a prebuild target which copies config-win32.h to curl_config.h and appends also then feature defines like USE_ARES.
-
- Aug 19, 2010
-
-
Dan Fandrich authored
-