Skip to content
Tcl Source Code View Ticket
Login

View Ticket

http-2.7 fails sometimes

Closed / Duplicate2780687fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 17 years ago
Descriptionplain2009-04-24 18:28:54
Sometimes  I see:

==== http-2.7 -channel,encoding deflate,non-chunked FAILED
==== Contents of test case:

    set tok [http::geturl http://localhost:$httpd_port/testdoc.html?close=1  -timeout 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 {} 121845
---- Result should have been (exact matching):
ok {HTTP/1.1 200 OK} ok close deflate {} 0
==== http-2.7 FAILED


which appears to indicate an incomplete download
when the test expects a complete one.

I see a -timeout value in the test, which makes
me suspect a timing sensitivity in the test?
patthoytsplain2009-06-26 05:56:21
allow_comments - 1

duplicate of #2762041
Log in (anonymous is fine) to add a comment.