- Nov 30, 2010
-
-
Yang Tse authored
-
- Nov 28, 2010
- Nov 26, 2010
- Nov 25, 2010
- Nov 24, 2010
-
-
Yang Tse authored
-
- Nov 23, 2010
-
-
Yang Tse authored
Ensure that spurious results from system's getaddrinfo() ares not propagated by Curl_getaddrinfo_ex() into the library. Also ensure that the ai_addrlen member of Curl_getaddrinfo_ex()'s output linked list of Curl_addrinfo structures has appropriate family-specific address size.
-
- Nov 22, 2010
-
-
Kamil Dudka authored
... not the proxy port. It makes no difference unless a proxy is used.
-
- Nov 20, 2010
-
-
Yang Tse authored
Winsock builds clobber some errno.h defines in setup_once.
-
Dan Fandrich authored
-
- Nov 19, 2010
-
-
Dan Fandrich authored
This showed a problem when running the test out-of-tree, so an include path is now being added to pick up the generated curlbuild.h file.
-
Dan Fandrich authored
-
Matthias Bolte authored
On Windows, translate WSAGetLastError() to errno values as GNU TLS does it internally, too. This is necessary because send() and recv() on Windows don't set errno when they fail but GNU TLS expects a proper errno value. Bug: http://curl.haxx.se/bug/view.cgi?id=3110991
-
Yang Tse authored
-
- Nov 18, 2010
-
-
Yang Tse authored
Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing rules and warnings. Given that cross-compiled targets autobuilds do not run the
-
Julien Chaffraix authored
If --librtmp was specified but pkg-config could not find the librtmp file, we would have undefined symbols when linking curl. We prevent this error by disabling this case as suggested on the mailing list.
-
- Nov 14, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
When no timeout is set, we call the socket_ready function with a timeout value of 0 during handshake, which makes it loop too much/fast in this function. It also made this function return CURLE_OPERATION_TIMEDOUT wrongly on a slow handshake. However, the particular bug report that highlighted this problem is not solved by this fix, as this fix only makes the more proper error get reported instead. Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594150 Reported by: Johannes Ernst
-
- Nov 13, 2010
-
-
Julien Chaffraix authored
This makes it easier to spot the enum values from the variables. Removed some unneeded DEBUGASSERT added in the previous commit.
-
Julien Chaffraix authored
While changing Curl_sec_read_msg to accept an enum protection_level instead of an int, I went ahead and fixed the usage of the associated fields. Some code was assuming that prot_clear == 0. Fixed those to use the proper value. Added assertions prior to any code that would set the protection level.
-
Yang Tse authored
-
- Nov 12, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This script is the start of a helper tool that scans a source code and outputs the most recent libcurl version it finds symbols for. Meaning that if there's no conditions in the code, that's the earliest libcurl version the scanned code requires. It is not added to the Makefile.am yet as it is still a bit crude, but I'm committing it to keep it and allow us to work on it.
-
Adam Light authored
-
Julien Chaffraix authored
This is the advised way of checking for errors in the GSS-API RFC. Also added some '\n' to the error message so that they are not mixed with other outputs.
-
Julien Chaffraix authored
init is expecting app_data. Passing it the struct connecdata would make us crash later.
-
- Nov 11, 2010
-
-
Daniel Stenberg authored
This is a meta symbol. OR this value together with a single specific auth value to force libcurl to probe for un-restricted auth and if not, only that single auth algorithm is acceptable. For example you can use CURLAUTH_DIGEST|CURLAUTH_ONLY to make libcurl first probe for what method to use, but yet only consider Digest to be acceptable. Using _only_ CURLAUTH_DIGEST without the CURLAUTH_ONLY field, will make libcurl explicitly use Digest right away and not do any probing.
-
Daniel Stenberg authored
The IP version choice was previously only in the UserDefined struct within the SessionHandle, but since we sometimes alter that option during a request we need to have it on a per-connection basis. I also moved more "init conn" code into the allocate_conn() function which is designed for that purpose more or less.
-
Yang Tse authored
MAC OS X requires libtool version 1.5.26 or newer, otherwise configure will mishandle *.dSYM directories when it runs.
-
Yang Tse authored
-
- Nov 10, 2010