Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 35b63e51eebd8b55be6226902f52f9b87f393c60
Ticket: 2762041fffffffffffffffffffffffffffffffff
Fix (too) early recognition of EOF in a channel stack
User & Date: lvirden on 2009-04-14 13:49:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I downloaded the latest Tcl cvs head from the activestate ftp site. The following tests in http11.test failed. I last tested at the end of May and don't recall seeing these failures.
    http11.test
    
    ==== http-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
    ==== http-2.6 FAILED
    
    ==== 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  -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
    ==== http-2.7 FAILED
    
    ==== http-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
    ==== http-2.8 FAILED
    
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "lvirden"
  10. subsystem changed to: "81. Bundled Packages"
  11. title changed to: "http11.test test case fails"
  12. type changed to: "Bug"