- Apr 08, 2013
-
-
Steve Holme authored
-
Steve Holme authored
-
Fabian Keil authored
Previously it only compared credentials if the requested needle connection wasn't using a proxy. This caused NTLM authentication failures when using proxies as the authentication code wasn't send on the connection where the challenge arrived. Added test 1215 to verify: NTLM server authentication through a proxy (This is a modified copy of test 67)
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Apr 07, 2013
-
-
Marc Hoersken authored
-
Marc Hoersken authored
Since qsort implementations vary with regards to handling the order of similiar elements, this change makes the internal sort function more deterministic by comparing path length first, then domain length and finally the cookie name. Spotted with testcase 62 on Windows.
-
Marc Hoersken authored
-
- Apr 06, 2013
-
-
Marc Hoersken authored
This reverts commit e51b23c9. As discussed on the mailinglist, this was not the correct approach.
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
WINSOCK only: Since FD_CLOSE is only signaled once, it may trigger at the same time as FD_READ. Data actually being available makes it impossible to detect that the connection was closed by checking that recv returns zero. Another recv attempt could block the connection if it was not closed. This workaround abuses exceptfds in conjunction with readfds to signal that the connection has actually closed.
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Daniel Stenberg authored
Since commit 57aeabcc, it handles errors on the control connection while waiting for the data connection better. Test 591 and 592 are updated accordingly.
-
Daniel Stenberg authored
When doing PORT and upload (STOR), this function needs to extract the file descriptor for both connections so that it will respond immediately when the server eventually connects back. This flaw caused active connections to become unnecessary slow but they would still often work due to the normal polling on a timeout. The bug also would not occur if the server connected back very fast, like when testing on local networks. Bug: http://curl.haxx.se/bug/view.cgi?id=1183 Reported by: Daniel Theron
-
Marc Hoersken authored
-
Kim Vandry authored
I am using curl_easy_setopt(CURLOPT_INTERFACE, "if!something") to force transfers to use a particular interface but the transfer fails with CURLE_INTERFACE_FAILED, "Failed binding local connection end" if the interface I specify has no IPv6 address. The cause is as follows: The remote hostname resolves successfully and has an IPv6 address and an IPv4 address. cURL attempts to connect to the IPv6 address first. bindlocal (in lib/connect.c) fails because Curl_if2ip cannot find an IPv6 address on the interface. This is a fatal error in singleipconnect() This change will make cURL try the next IP address in the list. Also included are two changes related to IPv6 address scope: - Filter the choice of address in Curl_if2ip to only consider addresses with the same scope ID as the connection address (mismatched scope for local and remote address does not result in a working connection). - bindlocal was ignoring the scope ID of addresses returned by Curl_if2ip . Now it uses them. Bug: http://curl.haxx.se/bug/view.cgi?id=1189
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
- Apr 05, 2013
-
-
Daniel Stenberg authored
... instead of just #if
-
Marc Hoersken authored
This workaround fixes an issue on MinGW/Msys regarding the Perl testsuite scripts not being able to signal or control the server processes. The MinGW Perl runtime only sees the Msys processes and their corresponding PIDs, but sockfilt (and other servers) wrote the Windows PID into their PID-files. Since this PID is useless to the testsuite, the write_pidfile function was changed to search for the Msys PID and write that into the PID-file.
-
Daniel Stenberg authored
3 more bug fixes, 6 more contributors
-
Marc Hoersken authored
-
Kamil Dudka authored
Reported by: Tomas Mlcoch
-
Kamil Dudka authored
... so that it adheres to the API documentation. Reported by: Tomas Mlcoch
-
Daniel Stenberg authored
At some point recently we lost the default value for the easy handle's connection cache, and this change puts it back to 5 - which is the former default value and it is documented in the curl_easy_setopt.3 man page.
-
- Apr 04, 2013
-
-
Marc Hoersken authored
The new read and write wrapper functions support reading from stdin and writing to stdout/stderr on Windows by using the appropriate Windows API functions and data types.
-
Yang Tse authored
-
Yang Tse authored
-
Daniel Stenberg authored
Reported by: Fredrik Thulin
-