Overview
| Artifact ID: | ae1c66667512709de5c771b57ad1b1c7e7617c91 |
|---|---|
| Ticket: | 2762041fffffffffffffffffffffffffffffffff
Fix (too) early recognition of EOF in a channel stack |
| User & Date: | lvirden on 2009-06-26 21:32:35 |
Changes
- icomment:
Note that today, June 26, 2009, I downloaded the tcl cvs head from the activestate ftp site, configured and built it on my solaris 8 machine using Sun's C compiler, and here's what I see for these tests: http11.test ==== http11-2.6 -channel,encoding gzip,non-chunked FAILED ==== Contents of test case: set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1 -ti meout 5000 -channel $chan -headers {accept-encoding gzip}] http::wait $tok seek $chan 0 set data [read $chan] list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[ file size testdoc.html]-[file size testfile.tmp]}] ---- Result was: ok {HTTP/1.1 200 OK} {crc32 mismatch: c554bc27 ne edc98c73} close gzip {} 121845 ---- Result should have been (exact matching): ok {HTTP/1.1 200 OK} ok close gzip {} 0 ==== http11-2.6 FAILED ==== http11-2.7 -channel,encoding deflate,non-chunked FAILED ==== Contents of test case: set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1 -ti meout 5000 -channel $chan -headers {accept-encoding deflate}] http::wait $tok seek $chan 0 set data [read $chan] list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[ file size testdoc.html]-[file size testfile.tmp]}] ---- Result was: ok {HTTP/1.1 200 OK} {crc32 mismatch: c554bc27 ne edc98c73} close deflate {} 121 845 ---- Result should have been (exact matching): ok {HTTP/1.1 200 OK} ok close deflate {} 0 ==== http11-2.7 FAILED ==== http11-2.8 -channel,encoding compress,non-chunked FAILED ==== Contents of test case: set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1 -ti meout 5000 -channel $chan -headers {accept-encoding compress}] http::wait $tok seek $chan 0 set data [read $chan] list [http::status $tok] [http::code $tok] [check_crc $tok $data] [meta $tok connection] [meta $tok content-encoding] [meta $tok transfer-encoding] [expr {[ file size testdoc.html]-[file size testfile.tmp]}] ---- Result was: ok {HTTP/1.1 200 OK} {crc32 mismatch: c554bc27 ne edc98c73} close compress {} 12 1845 ---- Result should have been (exact matching): ok {HTTP/1.1 200 OK} ok close compress {} 0 ==== http11-2.8 FAILED - login: "lvirden"
- mimetype: "text/plain"
- username: "lvirden"