- Jul 10, 2012
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
1 - str2offset() no longer accepts negative numbers since offsets are by nature positive. 2 - introduced str2unum() for the command line parser that accepts numericals which are not supposed to be negative, so that it will properly complain on apparent bad uses and mistakes. Bug: http://curl.haxx.se/mail/archive-2012-07/0013.html
-
- Jul 09, 2012
-
-
Daniel Stenberg authored
-
Yang Tse authored
Modification based on voting result: http://curl.haxx.se/mail/lib-2012-07/0104.html
-
Daniel Stenberg authored
Since the order of the cookies is sorted by the length of the paths, having them on the same path length will make the test depend on what order the qsort() implementation will put them. As seen in the windows/msys output posted by Guenter in this posting: http://curl.haxx.se/mail/lib-2012-07/0105.html
-
Daniel Stenberg authored
-
Christian Hägele authored
The function https_getsock was only implemented properly when USE_SSLEAY or USE_GNUTLS is defined, but it is also necessary for USE_SCHANNEL. The problem occurs when Curl_read_plain or Curl_write_plain returns CURLE_AGAIN. In that case CURL_OK is returned to the multi-interface an the used socket is set to state CURL_POLL_REMOVE and the easy-state is set to CURLM_STATE_PROTOCONNECT. This is fine, because later the socket should be set to CURL_POLL_IN or CURL_POLL_OUT via multi_getsock. That's where https_getsock is called and doesn't return any sockets.
-
Daniel Stenberg authored
-
- Jul 08, 2012
-
-
Guenter Knauf authored
-
Daniel Stenberg authored
-
Nick Zitzmann authored
Re-wrote Curl_darwinssl_random() to not use arc4random_buf() because the function is not available prior to iOS 4.3 and OS X 10.7.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Marc Hoersken authored
-
- Jul 07, 2012
-
-
Marc Hoersken authored
Since WinSSL cannot be build without SSPI being enabled, USE_WINSSL now defaults to the value of USE_SSPI. The makefile does now raise an error if WinSSL is enabled while SSPI is disabled.
-
Marc Hoersken authored
Renamed external parameter USE_SSPI = yes/no to ENABLE_SSPI = yes/no. Backwards compatible change: USE_SSPI can still be passed as external parameter with yes/no value as long as ENABLE_SSPI is not given. USE_x defines are passed around with true/false values internally, USE_SSPI is now aligned to this approach, but still accepts external values yes/no being passed, just like the other defines.
-
Marc Hoersken authored
- Changed space usage to line up with the whole file - Renamed CFLAGS_SSPI/IPV6 to SSPI/IPV6_CFLAGS to be consistent with the other CFLAGS_x variables - Make use of existing CFLAGS_IPV6 (previously IPV6_CFLAGS) instead of appending directly to CFLAGS
-
Nick Zitzmann authored
The code was printing a warning when SNI was set up successfully. Oops. Printing the cipher number in verbose mode was something only TLS/SSL programmers might understand, so I had it print the name of the cipher, just like in the OpenSSL code. That'll be at least a little bit easier to understand. The SecureTransport API doesn't have a method of getting a string from a cipher like OpenSSL does, so I had to generate the strings manually.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Bug #75 updated with additional info, still remains for builds with other backends.
-
- Jul 05, 2012
-
-
Daniel Stenberg authored
-
Yang Tse authored
-
Yang Tse authored
Reduce the number of #ifdef UNICODE directives used in source files.
-
Daniel Stenberg authored
Test 1008 and 206 don't show the disconnect since it happens when SWS awaits a new request, but 503 does and so the verify section needs that string added.
-
Daniel Stenberg authored
When doing CONNECT requests, libcurl must make sure the connection is alive as much as possible. NTLM requires it and it is generally good for other cases as well. NTLM over CONNECT requests has been broken since this regression I introduced in my CONNECT cleanup commits that started with 41b02378, included since 7.25.0. Bug: http://curl.haxx.se/bug/view.cgi?id=3538625 Reported by: Marcel Raad
-
Daniel Stenberg authored
I moved out the servercmd parsing into a its own function called parse_servercmd() and made sure it gets used also when the test number is extracted from CONNECT requests. It turned out sws didn't do that previously!
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Using this, the server will output in the protocol log when the connection gets disconnected and thus we will verify correctly in the test cases that the connection doesn't get closed prematurely. This is important for example NTLM to work. Documentation added to FILEFORMAT, test 503 updated to use this.
-
- Jul 04, 2012
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Jul 03, 2012
-
-
Daniel Stenberg authored
Mention the CURL_SOCKET_TIMEOUT argument in step 6 of the typical application.
-
Guenter Knauf authored
-
-
Guenter Knauf authored
Added function macros to make path converting easier. Added CROSSPREFIX to all compile tools.
-
Marc Hoersken authored
-
Guenter Knauf authored
Posted by Marc Hoersken.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-