- Feb 08, 2014
-
-
Daniel Stenberg authored
For verify file, if the strippart condition removes the line completely it is now removed from the array.
-
Steve Holme authored
-
Dan Fandrich authored
It's unnecessary for curl testing, and it can otherwise cause stunnel to fail to start if OpenSSL doesn't support FIPS mode.
-
Dan Fandrich authored
-
- Feb 07, 2014
-
-
Dan Fandrich authored
This was already mostly being done, except that analysis after the test still assumed that the valgrind log files would be available. An alternative way to handle the valgrind + gdb combination could be to enable one of the valgrind debugger hooks.
-
Steve Holme authored
-
Steve Holme authored
-
Daniel Stenberg authored
-
Steve Holme authored
lib1515.c:38:26 warning: unused parameter 'curl' lib1515.c:38:81 warning: unused parameter 'ptr' lib1515.c:38:5 warning: no previous prototype for 'debug_callback' lib1515.c:46:5 warning: no previous prototype for 'do_one_request' lib1515.c:120:3 warning: ISO C90 forbids mixed declarations and code As well as some code policing such as white space and braces.
-
Daniel Stenberg authored
Changed the support to a little matrix and added brief explanation of what ALPN and NPN are for.
-
Daniel Stenberg authored
-
Fabian Frank authored
Add ALPN and NPN support for NSS. This allows cURL to negotiate HTTP/2.0 connections when built with NSS.
-
Daniel Stenberg authored
Not comma, which is an inconsistency and a mistake probably inherited from the examples section of RFC1867. This bug has been present since the day curl started to support multipart formposts, back in the 90s. Reported-by: Rob Davies Bug: http://curl.haxx.se/bug/view.cgi?id=1333
-
- Feb 06, 2014
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Steve Holme authored
-
Remi Gacogne authored
When using the multi socket interface, libcurl calls the curl_multi_timer_callback asking to be woken up after CURL_TIMEOUT_EXPECT_100 milliseconds. After the timeout has expired, calling curl_multi_socket_action with CURL_SOCKET_TIMEOUT as sockfd leads libcurl to check expired timeouts. When handling the 100-continue one, the following check in Curl_readwrite() fails if exactly CURL_TIMEOUT_EXPECT_100 milliseconds passed since the timeout has been set! It seems logical to consider that having waited for exactly CURL_TIMEOUT_EXPECT_100 ms is enough. Bug: http://curl.haxx.se/bug/view.cgi?id=1334
-
Fabian Frank authored
Offer TLSv1.0 to 1.2 by default, still fall back to SSLv3 if --tlsv1[.N] was not specified on the command line.
-
Romulo A. Ceccon authored
Fix for bug #1303 (030a2b8c) was not complete. libcurl still pruned DNS entries added manually after detecting a dead connection. This test checks such behavior.
-
Romulo A. Ceccon authored
Test-case 1515 reproduces bug #1303, where libcurl would incorrectly prune DNS entries added via CURLOPT_RESOLVE after the DNS_CACHE_TIMEOUT had expired.
-
Daniel Stenberg authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Feb 05, 2014
-
-
Daniel Stenberg authored
Leave the valgrind --gen-suppressions option in there, commented, to make it easier for next update.
-
Daniel Stenberg authored
The call stack was modified in 2dc7ad23 so the supressions didn't work anymore.
-
Daniel Stenberg authored
... caused false detections of the threaded resolver otherwise
-
Steve Holme authored
-
Steve Holme authored
-
Daniel Stenberg authored
-
Fabian Frank authored
A server might respond with a content-encoding header and a response that was encoded accordingly in HTTP-draft-09/2.0 mode, even if the client did not send an accept-encoding header earlier. The server might not send a content-encoding header if the identity encoding was used to encode the response. See: http://tools.ietf.org/html/draft-ietf-httpbis-http2-09#section-9.3
-
- Feb 04, 2014
-
-
Dan Fandrich authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Daniel Stenberg authored
As this is mandated by the http2 spec draft-09
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
This patch chooses different approach to integrate HTTP2 into HTTP curl stack. The idea is that we insert HTTP2 layer between HTTP code and socket(TLS) layer. When HTTP2 is initialized (either in NPN or Upgrade), we replace the Curl_recv/Curl_send callbacks with HTTP2's, but keep the original callbacks in http_conn struct. When sending serialized data by nghttp2, we use original Curl_send callback. Likewise, when reading data from network, we use original Curl_recv callback. In this way we can treat both TLS and non-TLS connections. With this patch, one can transfer contents from https://twitter.com and from nghttp2 test server in plain HTTP as well. The code still has rough edges. The notable one is I could not figure out how to call nghttp2_session_send() when underlying socket is writable.
-