summaryrefslogtreecommitdiff
path: root/tests/data/test239
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* - I removed the default use of "Pragma: no-cache" from libcurl when a proxy isDaniel Stenberg2008-11-191-2/+0
| | | | | used. It has been used since forever but it was never a good idea to use unless explicitly asked for.
* Added "HTTP proxy" and "proxytunnel" keywords where applicableDan Fandrich2008-09-291-0/+9
|
* Fixed some tests to stop hard-coding the port number.Dan Fandrich2007-04-301-2/+2
|
* 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. & => & ). 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
|
* Venkat Akella found out that libcurl did not like HTTP responses that simplyDaniel Stenberg2006-11-251-2/+2
| | | | | | | | | | | | | responded with a single status line and no headers nor body. Starting now, a HTTP response on a persistent connection (i.e not set to be closed after the response has been taken care of) must have Content-Length or chunked encoding set, or libcurl will simply assume that there is no body. To my horror I learned that we had no less than 57(!) test cases that did bad HTTP responses like this, and even the test http server (sws) responded badly when queried by the test system if it is the test system. So although the actual fix for the problem was tiny, going through all the newly failing test cases got really painful and boring.
* NTLM2 session response supportDaniel Stenberg2006-06-071-1/+1
|
* Use correct content-length. Found out by patching the libcurl read to onlyDaniel Stenberg2006-04-101-2/+2
| | | | read one byte at a time...
* 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-0/+2
| | | | | | | | | | | | | | | | 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"
* Based on Augustus Saunders' comments and findings, the HTTP output authDaniel Stenberg2005-03-281-0/+80
function was fixed to use the proper proxy authentication when multiple ones were added as accepted. test 239 and test 243 were added to repeat the problems and verify the fixes.