- Sep 08, 2014
-
-
Daniel Stenberg authored
-
Catalin Patulea authored
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Sep 07, 2014
-
-
Daniel Stenberg authored
-
Brandon Casey authored
Historically the default "unknown" value for progress.size_dl and progress.size_ul has been zero, since these values are initialized implicitly by the calloc that allocates the curl handle that these variables are a part of. Users of curl that install progress callbacks may expect these values to always be >= 0. Currently it is possible for progress.size_dl and progress.size_ul to by set to a value of -1, if Curl_pgrsSetDownloadSize() or Curl_pgrsSetUploadSize() are passed a "size" of -1 (which a few places currently do, and a following patch will add more). So lets update Curl_pgrsSetDownloadSize() and Curl_pgrsSetUploadSize() so they make sure that these variables always contain a value that is >= 0. Updates test579 and test599. Signed-off-by: Brandon Casey <drafnel@gmail.com>
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
As the current element in the list is free()d by Curl_llist_remove(), when the associated connection is pending, reworked the loop to avoid accessing the next element through e->next afterward.
-
- Sep 06, 2014
-
-
Steve Holme authored
warning: implicit conversion from enumeration type 'CURLMcode' to different enumeration type 'CURLcode'
-
Steve Holme authored
Small follow up to commit 898808fa to use auth constants rather than hard code value when clearing picked authentication mechanism.
-
Steve Holme authored
-
- Sep 05, 2014
-
-
Vilmos Nebehaj authored
SecCertificateCopyPublicKey() is not available on iPhone. Use CopyCertSubject() instead to see if the certificate returned by SecCertificateCreateWithData() is valid. Reported-by: Toby Peterson
-
- Sep 04, 2014
-
-
Steve Holme authored
-
Daniel Stenberg authored
-
- Sep 03, 2014
-
-
Daniel Stenberg authored
... and a minor wording edit
-
Daniel Stenberg authored
Dennis Clarke from Blastwave.org for ensuring that nightly builds run smooth on Solaris!
-
- Sep 02, 2014
-
-
Daniel Stenberg authored
... as the struct is free()d in the end anyway. It was first pointed out to me that one of the ->msglist assignments were supposed to have been ->pending but was a copy and paste mistake when I realized none of the clearing of pointers had to be there.
-
Daniel Stenberg authored
... instead of scanning through all handles, stash only the actual handles that are in that state in the new ->pending list and scan that list only. It should be mostly empty or very short. And only used for pipelining. This avoids a rather hefty slow-down especially notable if you add many handles to the same multi handle. Regression introduced in commit 0f147887 (version 7.30.0). Bug: http://curl.haxx.se/mail/lib-2014-07/0206.html Reported-by: David Meyer
-
- Sep 01, 2014
-
-
Daniel Stenberg authored
-
Andre Heinecke authored
Forwards the setting as minimum ssl version (if set) to polarssl. If the server does not support the requested version the SSL Handshake will fail. Bug: http://curl.haxx.se/bug/view.cgi?id=1419
-
Nick Zitzmann authored
darwinssl: now accepts cacert bundles in PEM format in addition to single certs
-
- Aug 31, 2014
-
-
Vilmos Nebehaj authored
SecCertificateCreateWithData() returns a non-NULL SecCertificateRef even if the buffer holds an invalid or corrupt certificate. Call SecCertificateCopyPublicKey() to make sure cacert is a valid certificate.
-
Daniel Stenberg authored
Introducing Curl_expire_latest(). To be used when we the code flow only wants to get called at a later time that is "no later than X" so that something can be checked (and another timeout be added). The low-speed logic for example could easily be made to set very many expire timeouts if it would be called faster or sooner than what it had set its own timer and this goes for a few other timers too that aren't explictiy checked for timer expiration in the code. If there's no condition the code that says if(time-passed >= TIME), then Curl_expire_latest() is preferred to Curl_expire(). If there exists such a condition, it is on the other hand important that Curl_expire() is used and not the other. Bug: http://curl.haxx.se/mail/lib-2014-06/0235.html Reported-by: Florian Weimer
-
Michael Wallner authored
While waiting for a host resolve, check if the host cache may have gotten the name already (by someone else), for when the same name is resolved by several simultanoues requests. The resolver thread occasionally gets stuck in getaddrinfo() when the DNS or anything else is crappy or slow, so when a host is found in the DNS cache, leave the thread alone and let itself cleanup the mess.
-
- Aug 30, 2014
-
-
Vilmos Nebehaj authored
If the --cacert option is used with a CA certificate bundle that contains multiple CA certificates, iterate through it, adding each certificate as a trusted root CA.
-
- Aug 29, 2014
-
-
Askar Safin authored
-
Askar Safin authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Aug 28, 2014
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Aug 27, 2014
-
-
Daniel Stenberg authored
When enabling CURLOPT_NOBODY, libcurl effectively switches off upload mode and will do a download (without a body). This is now better explained in this man page. Bug: http://curl.haxx.se/mail/lib-2014-08/0236.html Reported-by: John Coffey
-
- Aug 26, 2014
-
-
Daniel Stenberg authored
-
Tatsuhiro Tsujikawa authored
-
- Aug 25, 2014
-
-
Dan Fandrich authored
-