diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-09 11:31:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-09 11:31:14 (GMT) |
commit | 53c066e2314b0166a9fe30fd1f0026bb48f0d1f3 (patch) | |
tree | eb92d86e032a361abb2782b43ab1d28c100ba968 /tests | |
parent | 162004aac0ba129446958a4148b2d7c308d433b2 (diff) | |
parent | 4ba2d9a81ad7f1d8b015c4f3f1dd0e6f603ecc3b (diff) | |
download | tcl-53c066e2314b0166a9fe30fd1f0026bb48f0d1f3.zip tcl-53c066e2314b0166a9fe30fd1f0026bb48f0d1f3.tar.gz tcl-53c066e2314b0166a9fe30fd1f0026bb48f0d1f3.tar.bz2 |
merge core-8-6-branch
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/http.test b/tests/http.test index 75c963d..025c32e 100644 --- a/tests/http.test +++ b/tests/http.test @@ -588,6 +588,14 @@ test http-4.15 {http::Event} -body { } -cleanup { catch {http::cleanup $token} } -returnCodes 1 -match glob -result "couldn't open socket*" +test http-1.15 {Leak with Close vs Keepalive (bug [6ca52aec14]} -body { + set before [chan names] + set token [http::geturl $url -headers {X-Connection keep-alive}] + http::cleanup $token + update + set after [chan names] + expr {$before eq $after} +} -result 1 test http-5.1 {http::formatQuery} { http::formatQuery name1 value1 name2 "value two" |