summaryrefslogtreecommitdiff
path: root/tests/data/test213
Commit message (Collapse)AuthorAgeFilesLines
* ntlm: update selection of type 3 responseMarkus Moeller2019-01-011-3/+3
| | | | | | | | | | | NTLM2 did not work i.e. no NTLMv2 response was created. Changing the check seems to work. Ref: https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-NLMP/[MS-NLMP].pdf Fixes https://github.com/curl/curl/issues/3286 Closes https://github.com/curl/curl/pull/3287 Closes https://github.com/curl/curl/pull/3415
* tests: updated for modified fake randomDaniel Stenberg2017-05-081-1/+1
|
* tests: fix CONNECT test cases to be more strictDaniel Stenberg2016-12-011-0/+2
| | | | ... 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
* NTLM: set a fake entropy for debug builds with CURL_ENTROPY setDaniel Stenberg2014-06-111-1/+1
| | | | | | | | | | | | | | | | 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
* tests: Disabled NTLM tests for non-debug buildsSteve Holme2014-06-111-0/+1
| | | | | | Added required "debug" feature, missed in commit 1c9aaa0bac, as NTLMv2 calls Curl_rand() which can only be fixed to a specific entropy in debug builds.
* tests: Updated NTLM tests for NTLMv2 type-3 messageSteve Holme2014-01-301-2/+2
|
* tests: Disabled NTLM tests when running with SSPI enabledSteve Holme2013-12-281-0/+1
|
* test1509: verify proxy header response headers countDaniel Stenberg2013-03-271-10/+10
| | | | | | | | | | | | | 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
* tests: phase out haxx.seDaniel Stenberg2011-03-091-6/+6
| | | | | | Instead of using haxx.se as a fixed magic host name in lots of tests, this is a first step to move toward the generic example.com host instead.
* Make the LD_PRELOAD path absolute in the tests that use itDan Fandrich2010-08-161-1/+1
| | | | | | | | In some situations, libtool will change directories and perform a link step before executing the libtest test app. Since LD_PRELOAD is in effect for this entire process, the path to the binary must be absolute so it will be valid no matter in which directory the app is running.
* NTLM tests: boost coverage by forcing the hostnameKamil Dudka2010-07-301-6/+10
| | | | | | | | | | | | | A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it.
* Changed host name to be under the haxx.se domainYang Tse2009-05-081-6/+6
|
* - 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.
* Added HTTP CONNECT keywordsDan Fandrich2008-08-111-0/+10
|
* Fixed some typos in the comments.Dan Fandrich2007-03-301-1/+1
|
* Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich2007-01-231-1/+3
| | | | | | are not, due mainly to the lack of support for XML character entities (e.g. & => &amp; ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
* Fixed some tag typos in the test data files.Dan Fandrich2007-01-171-1/+1
|
* NTLM2 session response supportDaniel Stenberg2006-06-071-1/+1
|
* Michele Bini modified the NTLM code to work for his "weird IIS case"Daniel Stenberg2006-04-051-2/+7
| | | | | | | | | | | (http://curl.haxx.se/mail/lib-2006-02/0154.html) by adding the NTLM hash function in addition to the LM one and making some other adjustments in the order the different parts of the data block are sent in the Type-2 reply. Inspiration for this work was taken from the Firefox NTLM implementation. I edited the existing 21(!) NTLM test cases to run fine with these news. Due to the fact that we now properly include the host name in the Type-2 message the test cases now only compare parts of that chunk.
* Modified the default HTTP headers used by libcurl:Daniel Stenberg2005-05-111-1/+4
| | | | | | | | | | | | | | | | A) Normal non-proxy HTTP: - no more "Pragma: no-cache" (this only makes sense to proxies) B) Non-CONNECT HTTP request over proxy: - "Pragma: no-cache" is used (like before) - "Proxy-Connection: Keep-alive" (for older style 1.0-proxies) C) CONNECT HTTP request over proxy: - "Host: [name]:[port]" - "Proxy-Connection: Keep-alive"
* Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM supportDaniel Stenberg2005-03-211-2/+1
| | | | is no longer only present when built with SSL support.
* A minor "syntax error" in numerous test files correctedDaniel Stenberg2005-01-251-1/+1
|
* two new test cases for proxy-CONNECT with NTLM (one doing GET, one doing POST)Daniel Stenberg2004-12-101-0/+99