summaryrefslogtreecommitdiffstats
path: root/tests/http11.test
Commit message (Collapse)AuthorAgeFilesLines
* Duplicate test namesdgp2022-10-281-1/+1
|
* duplicate test namesdgp2022-10-271-48/+48
|
* Fix bug [3610253] - apply the patch supplied with the ticket, and add a ↵kjnash2022-09-111-2/+30
| | | | test. REVIEW REQUESTED! Also fix -zip 0 so it sends "Accept-Encoding: identity".
* Fix bug [a13b9d0ce1] on HTTP compression: remove "compress", amend "deflate".kjnash2022-09-111-5/+102
|
* Fix bug [2927221] - revised http::meta, new http::metaValue, header names ↵kjnash2022-09-091-12/+10
| | | | are case-insensitive so convert to lower case.
* (Still buggy.) Add the ::socket replacement ::http::socket and its ↵kjnash2022-09-061-1/+21
| | | | dependencies as a workaround to bug 824251. Integrate with tls. Allow configuration -threadlevel for socket creation (package Thread may not be available and by default it is not used). Revise tests http-1.1, http-1.4, http-1.5 for new option -threadlevel. Run tests for each value of -threadlevel.
* (c) -> ©, now that TIP #587 is acceptedjan.nijtmans2021-09-021-1/+1
|
* Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-1/+1
| | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
* Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+4
| | | | tcltest 2.5, since we never test with earlier tcltest versions
* Fix for http bug c2dc1da315. Add tests. Add detail about -handler to ↵kjnash2020-08-241-0/+178
| | | | http(n). Bump version to 2.9.5.
* Bugfixes to the earlier fix of bug cb0373bb33, which broke HTTP/1.0 ↵kjnash2020-08-121-0/+27
| | | | transactions in which the server indicates neither a Content-Length nor that it will close the socket on completion ("Connection: close"). The HTTP/1.1 rule is that the response header "Connection", if absent, must default to "keep-alive"; but this rule does not apply to HTTP/1.0. Add test http11-3.4 and bump version to 2.9.4.
* Merge 8.6jan.nijtmans2020-07-251-1/+1
|\
| * Fix [20dccf1200]: htons-related test fails on Mac OSX Catalina (10.15) jan.nijtmans2020-07-251-1/+1
| | | | | | Also, let http-related tests check if really http 2.9 is present
* | Fix for bug cb0373bb33. In HTTP/1.1 the response header "Connection", if ↵kjnash2020-07-241-0/+37
|/ | | | absent, must default to "keep-alive". Add test http11-1.13 and bump version to 2.9.3.
* merge 8.6kjnash2018-09-151-0/+7
|\
| * Add valgrind suppression for dlopen and ensure that processes are reaped inpooryorick2018-06-201-0/+7
| | | | | | http11.test.
* | Revise tests/http11.test for use with commits from 78b23edb6b onwards. ↵kjnash2018-03-271-4/+1
|/ | | | Adjust proc "handler" to conform to http(n)
* [b9d0434667] Prefer the gzip encoding for transfers. It's less efficient, butdkf2015-05-141-7/+26
| | | it is far more interoperable and that's a more important metric.
* * generic/tclZlib.c (Tcl_ZlibStreamGet): [Bug 3081008]: Ensure thatdkf2010-10-191-1/+1
| | | | | | | | | | | | | | | when a bytearray gets its internals entangled with zlib for more than a passing moment, that bytearray will never be shimmered away. This increases the amount of copying but is simple to get right, which is a reasonable trade-off. * generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special cases so that most of the time when you build up a bytearray by appending, it actually ends up being a bytearray rather than shimmering back and forth to string. * tests/http11.test (check_crc): Use a simpler way to express the functionality of this procedure.
* Handle cleanup when all tests skipped [Bug 2812355]patthoyts2009-06-251-1/+1
|
* More test suite cleanup for "-singleproc 1 -debug 1" testing.dgp2009-06-241-0/+1
|
* Correct failures during -singleproc 1 test suite run.dgp2009-06-241-33/+33
| | | | Correct duplicate test names.
* Clean up procs after testing to avoid problems with -singleproc testing [Bug ↵patthoyts2009-06-241-1/+5
| | | | 2811492]
* Removed newline appended to POST data.patthoyts2009-04-191-1/+73
| | | | Added tests to check that the data provided by a POST is as stated in the content-length [Bug 2715421]
* Improved HTTP/1.1 support and added specific HTTP/1.1 testing.patthoyts2009-04-101-0/+579
This patch makes use of the 8.6 zlib support to provide for deflate and gzip support and handles the -channel option with compression and chunked transfer encoding. For the -handler option we currently disable HTTP/1.1 features as we cannot properly pass the data through to the caller.