summaryrefslogtreecommitdiff
path: root/tests/data/test1060
Commit message (Collapse)AuthorAgeFilesLines
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-8/+8
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* tests: fixup several testsFabian Keil2021-02-091-2/+2
| | | | | | | | | | | | | | missing CRs and modified %hostip lib556/test556: use a real HTTP version to make test reuse more convenient make sure the weekday in Date headers matches the date test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d) Gets the test working with external proxies like Privoxy again. Closes #6463
* runtests: add %repeat[]% for test filesDaniel Stenberg2020-10-041-2/+2
| | | | | | | ... and use this new keywords in all the test files larger than 50K to reduce their sizes and make them a lot easier to read and understand. Closes #6040
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-021-3/+3
| | | | | | | | ... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
* tests: use proxy featureMarcel Raad2019-10-151-0/+1
| | | | | | This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
* tests: fix CONNECT test cases to be more strictDaniel Stenberg2016-12-011-1/+0
| | | | ... as they broke with the cleaned up CONNECT handling
* Revert "Proxy-Connection: stop sending this header by default"Daniel Stenberg2016-08-161-0/+2
| | | | This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.
* Proxy-Connection: stop sending this header by defaultDaniel Stenberg2016-02-081-2/+0
| | | | | | | | | RFC 7230 says we should stop. Firefox already stopped. Bug: https://github.com/curl/curl/issues/633 Reported-By: Brad Fitzpatrick Closes #633
* tests: Don't run HTTP digest tests for SSPI based buildsSteve Holme2014-11-061-0/+1
| | | | | | | 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.
* tests: prevent test206, test1060, and test1061 from failingKamil Dudka2013-04-121-7/+7
| | | | | | ... in case runtests.pl is invoked with non-default -b option Fixes a regression caused by 1e29d275c643ef6aab7948f0f55a7a9397e56b42.
* test1509: verify proxy header response headers countDaniel Stenberg2013-03-271-11/+11
| | | | | | | | | | | | | Modified sws to support and use custom CONNECT responses instead of the previously naive hard-coded version. Made the HTTP test server able to extract test case number from the host name in a CONNECT request by finding the number after the last dot. It makes 'machine.moo.123' use test case 123. Adapted a larger amount of tests to the new <connect> style. Bug: http://curl.haxx.se/bug/view.cgi?id=1204 Reported by: Martin Jansen
* Changed host name to be under the haxx.se domainYang Tse2009-05-081-7/+7
|
* - Craig A West brought us: libcurl now defaults to do CONNECT with HTTPDaniel Stenberg2009-02-021-2/+2
| | | | | | | | | | version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
* Fixed a buffer overflow problem in Curl_proxyCONNECT that could occurDan Fandrich2008-08-121-0/+902
when a server responded with long headers and data. Luckily, the buffer overflowed into another unused buffer, so no actual harm was done. Added test cases 1060 and 1061 to verify.