- Mar 14, 2015
-
-
Daniel Stenberg authored
... by using the regular Curl_http_done() method which checks for that. This makes test 1801 fail consistently with error 56 (which seems fine) to that test is also updated here. Reported-by: Ben Darnell Bug: https://github.com/bagder/curl/issues/166
-
- Mar 13, 2015
-
-
Dan Fandrich authored
Required for the test to work after a5d99494.
-
- Mar 12, 2015
-
-
Fabian Keil authored
Required for the tests to work after a5d99494.
-
Daniel Stenberg authored
...after the method line: "Since the Host field-value is critical information for handling a request, a user agent SHOULD generate Host as the first header field following the request-line." / RFC 7230 section 5.4 Additionally, this will also make libcurl ignore multiple specified custom Host: headers and only use the first one. Test 1121 has been updated accordingly Bug: http://curl.haxx.se/bug/view.cgi?id=1491 Reported-by: Rainer Canavan
-
- Mar 11, 2015
-
-
Daniel Stenberg authored
When checking for a connection to re-use, a proxy-using request must check for and use a proxy connection and not one based on the host name! Added test 1421 to verify Bug: http://curl.haxx.se/bug/view.cgi?id=1492
-
- Feb 03, 2015
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Feb 02, 2015
-
-
Daniel Stenberg authored
-
- Jan 28, 2015
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Jan 27, 2015
-
-
Patrick Monnerat authored
-
- Jan 07, 2015
-
-
Daniel Stenberg authored
Bug: http://curl.haxx.se/docs/adv_20150108B.html
-
- Dec 28, 2014
-
-
Steve Holme authored
* Missing initialisation of upload status caused a seg fault * Missing data termination caused corrupt data to be uploaded * Data verification should be performed in <upload> element * Added missing recipient list cleanup
-
Steve Holme authored
-
- Dec 26, 2014
-
-
Steve Holme authored
Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
-
- Dec 04, 2014
-
-
Peter Wu authored
test1435: a simple test that checks whether a HTTP request can be performed over the UNIX socket. The hostname/port are interpreted by sws and should be ignored by cURL. test1436: test for the ability to do two requests to the same host, interleaved with one to a different hostname. Signed-off-by:
Peter Wu <peter@lekensteyn.nl>
-
- Nov 30, 2014
-
-
Bill Nagel authored
This patch enables SMB/CIFS support in the curl command-line tool.
-
- Nov 29, 2014
-
-
Steve Holme authored
-
- Nov 26, 2014
-
-
Steve Holme authored
-
- Nov 24, 2014
-
-
Travis Burtrum authored
-
- Nov 20, 2014
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Verifies the upgrade request, but gets a plain 1.1 response
-
- Nov 13, 2014
-
-
Peter Wu authored
This is the only user of the backtick operator in the command. As the commands will soon not be executed by a shell anymore (but by perl), replace the command with its output. Signed-off-by:
Peter Wu <peter@lekensteyn.nl>
-
- Nov 06, 2014
-
-
Dan Fandrich authored
Technical difficulties prevented this from going into the previous commit.
-
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
-