Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ddada53941c793607b883e4c0b0ebe3786d73e68
Ticket: 2946474fffffffffffffffffffffffffffffffff
[exit] doesn't wait for background flushes of close channels
User & Date: dkf on 2010-02-11 16:14:39
Changes

  1. icomment:
    I suspect that this is related to an intermittent failure seen in http11-2.7:
    
    ==== 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  -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
    ==== http11-2.7 FAILED
    
    Note that this is an intermittent failure. I cannot generate it on demand, nor do I know the exact system conditions under which the problem shows itself. (Looks random and somewhat rare to me, but a failure to send the last chunk could do it.)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"