- Nov 06, 2014
-
-
Steve Holme authored
Added !SSPI to the features list of the HTTP digest tests, as SSPI based builds now use the Windows SSPI messaging API rather than the internal functions, and we can't control the random numbers that get used as part of the digest.
-
- Nov 04, 2014
-
-
Daniel Stenberg authored
... and make test 2034 and 2035 require it, and have it set when built with OpenSSL or GnuTLS.
-
- Nov 01, 2014
-
-
Daniel Stenberg authored
Basically since servers often then don't respond well to this and instead send the full contents and then libcurl would instead error out with the assumption that the server doesn't support resume. As the data is then already transfered, this is now considered fine. Test case 1434 added to verify this. Test case 1042 slightly modified. Reported-by: hugo Bug: http://curl.haxx.se/bug/view.cgi?id=1443
-
- Oct 27, 2014
-
-
Daniel Stenberg authored
HTTP 1.1 is clearly specified to only allow three digit response codes, and libcurl used sscanf("%3d") for that purpose. This made libcurl support smaller numbers but not larger. It does now, but we will not make any specific promises nor document this further since it is going outside of what HTTP is. Bug: http://curl.haxx.se/bug/view.cgi?id=1441 Reported-by: Balaji
-
- Oct 26, 2014
-
-
Dan Fandrich authored
Each shows evidence of flakiness on at least one platform on the autobuilds. Users can use this keyword to skip these tests if desired.
-
- Oct 16, 2014
-
-
Daniel Stenberg authored
CURLOPT_COPYPOSTFIELDS with a given CURLOPT_POSTFIELDSIZE does not require a trailing zero of the data and by making sure this test doesn't use one we know it works (combined with valgrind).
-
- Oct 13, 2014
-
-
Peter Wu authored
This change allows runtests.pl to be run from the CMake builddir: export srcdir=/tmp/curl/tests; perl -I$srcdir $srcdir/runtests.pl -l In order to make this possible, all test cases have been moved from Makefile.am to Makefile.inc. Signed-off-by:
Peter Wu <peter@lekensteyn.nl>
-
- Oct 09, 2014
-
-
Daniel Stenberg authored
Similar to test 76 but that test's URL has a slash just no file name part.
-
- Oct 07, 2014
-
-
Travis Burtrum authored
Option --pinnedpubkey takes a path to a public key in DER format and only connect if it matches (currently only implemented with OpenSSL). Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt(). Extract a public RSA key from a website like so: openssl s_client -connect google.com:443 2>&1 < /dev/null | \ sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \ | openssl rsa -pubin -outform DER > google.com.der
-
- Sep 25, 2014
-
-
Yousuke Kimoto authored
-
- Sep 10, 2014
-
-
Daniel Stenberg authored
Test 61 was modified to verify this. CVE-2014-3620 Reported-by: Tim Ruehsen URL: http://curl.haxx.se/docs/adv_20140910B.html
-
Tim Rühsen authored
By not detecting and rejecting domain names for partial literal IP addresses properly when parsing received HTTP cookies, libcurl can be fooled to both send cookies to wrong sites and to allow arbitrary sites to set cookies for others. CVE-2014-3613 Bug: http://curl.haxx.se/docs/adv_20140910A.html
-
- Sep 07, 2014
-
-
Brandon Casey authored
Historically the default "unknown" value for progress.size_dl and progress.size_ul has been zero, since these values are initialized implicitly by the calloc that allocates the curl handle that these variables are a part of. Users of curl that install progress callbacks may expect these values to always be >= 0. Currently it is possible for progress.size_dl and progress.size_ul to by set to a value of -1, if Curl_pgrsSetDownloadSize() or Curl_pgrsSetUploadSize() are passed a "size" of -1 (which a few places currently do, and a following patch will add more). So lets update Curl_pgrsSetDownloadSize() and Curl_pgrsSetUploadSize() so they make sure that these variables always contain a value that is >= 0. Updates test579 and test599. Signed-off-by:
Brandon Casey <drafnel@gmail.com>
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Aug 15, 2014
-
-
Daniel Stenberg authored
... to handle "*/[total]". Also, removed the strange hack that made CURLOPT_FAILONERROR on a 416 response after a *RESUME_FROM return CURLE_OK. Reported-by: Dimitrios Siganos Bug: http://curl.haxx.se/mail/lib-2014-06/0221.html
-
- Jul 26, 2014
-
-
Fabian Keil authored
-
- Jul 15, 2014
-
-
Daniel Stenberg authored
After the fixed cookie lock deadlock, this test now passes and it detects double-locking and double-unlocking of mutexes.
-
- Jul 14, 2014
-
-
Dan Fandrich authored
It's irrelevant to the test, and will change depending on which SSL library is being used by libcurl.
-
- Jul 11, 2014
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Dan Fandrich authored
These tests have been broken since commit 1958fe57 in Oct. 2011
-
- Jun 15, 2014
-
-
Dan Fandrich authored
This caused segfaults on tests 823 869 907.
-
Dan Fandrich authored
-
- Jun 11, 2014
-
-
Daniel Stenberg authored
Curl_rand() will return a dummy and repatable random value for this case. Makes it possible to write test cases that verify output. Also, fake timestamp with CURL_FORCETIME set. Only when built debug enabled of course. Curl_ssl_random() was not used anymore so it has been removed. Curl_rand() is enough. create_digest_md5_message: generate base64 instead of hex string curl_sasl: also fix memory leaks in some OOM situations
-
Steve Holme authored
Added required "debug" feature, missed in commit 1c9aaa0b, as NTLMv2 calls Curl_rand() which can only be fixed to a specific entropy in debug builds.
-
- Jun 01, 2014
-
-
Steve Holme authored
-
- May 18, 2014
-
-
Daniel Stenberg authored
Verifies that the change in 68f0166a works as intended and that different HTTP auth credentials to the same host still re-uses the connection properly.
-
- May 11, 2014
-
-
Steve Holme authored
-
- May 09, 2014
-
-
Dan Fandrich authored
-
- May 04, 2014
-
-
Daniel Stenberg authored
If the precision is indeed shorter than the string, don't strlen() to find the end because that's not how the precision operator works. I also added a unit test for curl_msnprintf to make sure this works and that the fix doesn't a few other basic use cases. I found a POSIX compliance problem that I marked TODO in the unit test, and I figure we need to add more tests in the future. Reported-by: Török Edwin
-
- Apr 23, 2014
-
-
Daniel Stenberg authored
-
- Apr 18, 2014
-
-
Steve Holme authored
-
- Apr 06, 2014
-
-
Steve Holme authored
-
- Apr 04, 2014
-
-
Daniel Stenberg authored
Updated the docs to clarify and the code accordingly, with test 1528 to verify: When CURLHEADER_SEPARATE is set and libcurl is asked to send a request to a proxy but it isn't CONNECT, then _both_ header lists (CURLOPT_HTTPHEADER and CURLOPT_PROXYHEADER) will be used since the single request is then made for both the proxy and the server.
-
Daniel Stenberg authored
-