aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-14valgrind: added suppression on optimized codeDan Fandrich
gcc 4.7.2 with -O2 will optimize Curl_connect by inlining some functions two levels deep, which makes the valgrind suppression fail to match. The underlying reason for these idna suppressions is a gcc strlen optimization when compiling libidn; compiling it with -fno-builtin-strlen makes this suppression unnecessary.
2014-02-14dict: fix memory leak in OOM exit pathArvid Norberg
Bug: https://github.com/bagder/curl/pull/90
2014-02-13Curl_urldecode: don't allow NULL as receiverDaniel Stenberg
For a function that returns a decoded version of a string, it seems really strange to allow a NULL pointer to get passed in which then prevents the decoded data from being returned! This functionality was not documented anywhere either. If anyone would use it that way, that memory would've been leaked. Bug: https://github.com/bagder/curl/pull/90 Reported-by: Arvid Norberg
2014-02-13RELEASE-NOTES: synced with 378af08c992Daniel Stenberg
2014-02-13ConnectionExists: reusing possible HTTP+NTLM connections betterDaniel Stenberg
Make sure that the special NTLM magic we do is for HTTP+NTLM only since that's where the authenticated connection is a weird non-standard paradigm. Regression brought in 8ae35102c (curl 7.35.0) Bug: http://curl.haxx.se/mail/lib-2014-02/0100.html Reported-by: Dan Fandrich
2014-02-13transfer: make Expect: 100-continue timeout configurable.Tiit Pikma
Replaced the #define CURL_TIMEOUT_EXPECT_100 in transfer.c with the CURLOPT_EXPECT_100_TIMEOUT_MS option to make the timeout configurable.
2014-02-12Fix compilation with make mingw32Thomas Braun
The source files from lib/vtls where generated in lib instead of lib/vtls. Verified-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
2014-02-12chunked decoder: track overflows correctlyDaniel Stenberg
The code didn't properly check the return codes to detect overflows so it could trigger incorrectly. Like on mingw32. Regression introduced in 345891edba (curl 7.35.0) Bug: http://curl.haxx.se/mail/lib-2014-02/0097.html Reported-by: LM
2014-02-11curl_easy_setopt.3: add CURL_HTTP_VERSION_2_0Fabian Frank
2014-02-11openssl: honor --[no-]alpn|npn command line switchFabian Frank
Disable ALPN or NPN if requested by the user.
2014-02-11gtls: honor --[no-]alpn command line switchFabian Frank
Disable ALPN if requested by the user.
2014-02-11tests: Disabled broken test 1316Dan Fandrich
See http://curl.haxx.se/mail/lib-2014-02/0004.html for a discussion on the problem.
2014-02-11version: next release will become 7.36.0Daniel Stenberg
2014-02-11curl_easy_setopt.3: add CURLOPT_SSL_ENABLE_ALPN/NPNDaniel Stenberg
2014-02-10tool_cfgable: Moved easy handle cleanup to fix pingpong logout issuesSteve Holme
Commmit c5f8e2f5f4 removed the easy handle clean-up from tool_operate, letting the code that was already present in free_config_fields() perform the task. Unfortunately, this wasn't the correct place to do this as it broke protocols, that would perform a logout, as the main clean-up in tool_main had already been called.
2014-02-10secureserver: Only set stunnel FIPS option when availableDan Fandrich
It seems the fips config option causes an error if FIPS mode was not enabled at stunnel compile-time. FIPS support was disabled by default in stunnel 5.00, so this is probably really only needed on versions between 4.32 and 5.00.
2014-02-10NPN/ALPN: allow disabling via command lineFabian Frank
when using --http2 one can now selectively disable NPN or ALPN with --no-alpn and --no-npn. for now honored with NSS only. TODO: honor this option with GnuTLS and OpenSSL
2014-02-10nss: use correct preprocessor macroFabian Frank
SSL_ENABLE_ALPN can be used for preprocessor ALPN feature detection, but not SSL_NEXT_PROTO_SELECTED, since it is an enum value and not a preprocessor macro.
2014-02-09tests: Added test for IMAP LSUB commandSteve Holme
2014-02-09tests: Removed test 807 as it has been superseded by tests 815 and 816Steve Holme
2014-02-09tests: Updated the titles of tests 815 and 816Steve Holme
2014-02-09tool_metalink: fix compiler warning when built without metalinkDaniel Stenberg
2014-02-09tool_operate: Move the trace and error file closure to tool_cfgableSteve Holme
2014-02-09TODO: Removed url-specific optionsSteve Holme
2014-02-09tests: Re-enabled IMAP tests that require URL specific option supportSteve Holme
2014-02-09RELEASE-NOTES: Synced with 8e62f7a6503aSteve Holme
2014-02-09secureserver: FIPS option is only supported since stunnel 5.00Marc Hoersken
2014-02-09tool_operate: Added support for performing URL specific operationsSteve Holme
2014-02-09tool_operate: Let curl handle cleanup take place in config_free()Steve Holme
2014-02-09formdata: Must use Curl_safefree instead of freeDan Fandrich
2014-02-08test96: updated according to recent changesDaniel Stenberg
2014-02-08runtests: allow <strippart> to remove linesDaniel Stenberg
For verify file, if the strippart condition removes the line completely it is now removed from the array.
2014-02-08tool_getparam: Added support for parsing of specific URL optionsSteve Holme
2014-02-08secureserver: Disable FIPS mode for stunnelDan Fandrich
It's unnecessary for curl testing, and it can otherwise cause stunnel to fail to start if OpenSSL doesn't support FIPS mode.
2014-02-08formdata: Fixed memory leak on OOM conditionDan Fandrich
2014-02-07runtests: Disable valgrind when debuggingDan Fandrich
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.
2014-02-07tool_cfgable: For consistency renamed init_config() to config_init()Steve Holme
2014-02-07tool_cfgable: Introduced config_free() functionSteve Holme
2014-02-07--help: add missing --tlsv1.x optionsDaniel Stenberg
2014-02-07lib1515.c: Fixed various compilation warningsSteve Holme
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.
2014-02-07http2: updated README after NSS additionDaniel Stenberg
Changed the support to a little matrix and added brief explanation of what ALPN and NPN are for.
2014-02-07nss: support pre-ALPN versionsDaniel Stenberg
2014-02-07nss: ALPN and NPN supportFabian Frank
Add ALPN and NPN support for NSS. This allows cURL to negotiate HTTP/2.0 connections when built with NSS.
2014-02-07formpost: use semicolon in multipart/mixedDaniel Stenberg
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
2014-02-06tests: Document use of the MEMDEBUG_LOG_SYNC macroDan Fandrich
2014-02-06ssh: Fixed a NULL pointer dereference on OOM conditionDan Fandrich
2014-02-06nss: Updated copyright year for recent editsSteve Holme
2014-02-06100-continue: fix timeout conditionRemi Gacogne
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
2014-02-06nss: prefer highest available TLS versionFabian Frank
Offer TLSv1.0 to 1.2 by default, still fall back to SSLv3 if --tlsv1[.N] was not specified on the command line.
2014-02-06tests: add test for bug #1327 (dns cache timeout)Romulo A. Ceccon
Fix for bug #1303 (030a2b8cb) was not complete. libcurl still pruned DNS entries added manually after detecting a dead connection. This test checks such behavior.