- Nov 06, 2012
-
-
Daniel Stenberg authored
The existing logic only cut off the fragment from the separate 'path' buffer which is used when sending HTTP to hosts. The buffer that held the full URL used for proxies were not dealt with. It is now. Test case 5 was updated to use a fragment on a URL over a proxy. Bug: http://curl.haxx.se/bug/view.cgi?id=3579813
-
Daniel Stenberg authored
Bug: http://curl.haxx.se/bug/view.cgi?id=3579286
-
Daniel Stenberg authored
As a handle can be re-used after having done HTTP auth in a previous request, it must make sure to clear out the HTTP types that aren't wanted in this new request.
-
Daniel Stenberg authored
This reverts commit ce8311c7. The commit made test 2024 work but caused a regression with repeated Digest authentication. We need to fix this differently.
-
Daniel Stenberg authored
After a research team wrote a document[1] that found several live source codes out there in the wild that misused the CURLOPT_SSL_VERIFYHOST option thinking it was a boolean, this change now bans 1 as a value and will make libcurl return error for it. 1 was never a sensible value to use in production but was introduced back in the days to help debugging. It was always documented clearly this way. 1 was never supported by all SSL backends in libcurl, so this cleanup makes the treatment of it unified. The report's list of mistakes for this option were all PHP code and while there's a binding layer between libcurl and PHP, the PHP team has decided that they have an as thin layer as possible on top of libcurl so they will not alter or specifically filter a 'TRUE' value for this particular option. I sympathize with that position. [1] = http://daniel.haxx.se/blog/2012/10/25/libcurl-claimed-to-be-dangerous/
-
Daniel Stenberg authored
-
Alessandro Ghedini authored
-
Alessandro Ghedini authored
-
- Nov 05, 2012
-
-
Dave Reisner authored
Since automake 1.12.4, the warnings are issued on running automake: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Avoid INCLUDES and roll these flags into AM_CPPFLAGS. Compile tested on: Ubuntu 10.04 (automake 1:1.11.1-1) Ubuntu 12.04 (automake 1:1.11.3-1ubuntu2) Arch Linux (automake 1.12.4)
-
Daniel Stenberg authored
Oops, my previous commit broke builds with krb support.
-
- Nov 04, 2012
-
-
Daniel Stenberg authored
As pointed out in Bug report #3579064, curl_multi_perform() would wrongly use a blocking mechanism internally for some commands which could lead to for example a very long block if the LIST response never showed. The solution was to make sure to properly continue to use the multi interface non-blocking state machine. The new test 1501 verifies the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3579064 Reported by: Guido Berhoerster
-
- Oct 23, 2012
-
-
Daniel Stenberg authored
When given a string as 'srp' it didn't work, but required 'SRP'. Starting now, the check disregards casing. Bug: http://curl.haxx.se/bug/view.cgi?id=3578418 Reported by: Jeff Connelly
-
Daniel Stenberg authored
Back in those days the public ares.h header didn't include the ares_version.h header so it needs to be included here. Bug: http://curl.haxx.se/bug/view.cgi?id=3577710
-
- Oct 22, 2012
-
-
Nick Zitzmann authored
Previously the Metalink code used Apple's CommonCrypto library only if curl was built using the --with-darwinssl option. Now we use CommonCrypto on all Apple operating systems including Tiger or later, or iOS 5 or later, so you don't need to build --with-darwinssl anymore. Also rolled out this change to libcurl's md5 code.
-
- Oct 16, 2012
-
-
Nick Zitzmann authored
The iOS build was broken by a reference to a function that only existed under OS X; fixed. Also fixed a hard-to-reproduce problem where, if the server disconnected before libcurl got the chance to hang up first and SecureTransport was in use, then we'd raise an error instead of failing gracefully.
-
- Oct 15, 2012
-
-
- Oct 09, 2012
-
-
Daniel Stenberg authored
This is a minor change in behavior after having been pointed out by Mark Tully and discussed on the list. Initially this case would internally call poll() with no sockets and a timeout which would equal a sleep for that specified time. Bug: http://curl.haxx.se/mail/lib-2012-10/0076.html Reported by: Mark Tully
-
- Oct 08, 2012
-
-
Marc Hoersken authored
-
- Oct 06, 2012
-
-
Marc Hoersken authored
Do not fill the decrypted data buffer with more data unless required in order to return the requested amount of data.
-
Marc Hoersken authored
Since there are servers that seem to return very big encrypted data packages, we need to be able to handle those without having an internal size limit. To avoid the buffer growing to fast to early the initial size was decreased and the minimum free space in the buffer was decreased as well.
-
- Oct 04, 2012
-
-
Marc Hoersken authored
-
Marc Hoersken authored
Streamlined variable names and types to avoid type conversions that may result in data being lost on non 32-bit systems.
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
Use ssize_t instead of int to avoid conversion problems on 64-bit systems. Also added curlx_sztosi where necessary.
-
- Oct 03, 2012
-
-
Marc Hoersken authored
-
- Oct 01, 2012
-
-
Daniel Stenberg authored
During the periods of rate limitation, the speedcheck function wasn't called and thus the values weren't updated accordingly and it would then easily trigger wrongly once data got transferred again. Also, the progress callback's return code was not acknowledged in this state so it could make an "abort" return code to get ignored and not have the documented effect of aborting an ongoing transfer. Bug: http://curl.haxx.se/mail/lib-2012-09/0081.html Reported by: Jie He
-
- Sep 28, 2012
-
-
Daniel Stenberg authored
The Curl_reconnect_request() function could end up returning a pointer to a free()d struct when Curl_done() failed inside. Clearing the pointer unconditionally after Curl_done() avoids this risk. Reported by: Ho-chi Chen Bug: http://curl.haxx.se/mail/lib-2012-09/0188.html
-
- Sep 23, 2012
-
-
Marc Hoersken authored
-
- Sep 19, 2012
-
-
Daniel Stenberg authored
-
- Sep 17, 2012
-
-
Sergei Nikulov authored
Bug: http://curl.haxx.se/bug/view.cgi?id=3568327
-
- Sep 16, 2012
-
-
Sara Golemon authored
Minor change to recently introduced function. BC breaking, but since curl_multi_wait() doesn't exist in any releases that should be fine.
-
- Sep 14, 2012
-
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
- Sep 13, 2012
-
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Daniel Stenberg authored
Selected socks proxy in Google's Chrome browser. Resulting in the following environment variables: NO_PROXY=localhost,127.0.0.0/8 ALL_PROXY=socks://localhost:1080/ all_proxy=socks://localhost:1080/ no_proxy=localhost,127.0.0.0/8 ... and libcurl didn't treat 'socks://' as socks but instead picked HTTP proxy. Reported by: Scott Bailey Bug: http://curl.haxx.se/bug/view.cgi?id=3566860
-