Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c5b843f0b07a96ce942549797ef9eaa5af4361b
Ticket: db0a5f6417bcd5f8dbd37377daf1488b60b0c8f0
Tests zlib-8.9 and zlib-8.11 fail with trunk [c7cea9d704] for MSWin 32/MSVC6
User & Date: apnadkarni on 2016-07-21 07:33:36
Changes

  1. icomment:
    For testing, run the following proc in a loop at least a hundred times.
    
    proc go {} {
        set spdyHeaders "HTTP/1.0 200 OK\r\nContent-Type: text/html; charset=utf-8\r\nX-Robots-Tag: noarchive\r\nLast-Modified: Tue, 05 Jun 2012 02:43:25 GMT\r\nETag: \"1338864205129|#public|0|en|||0\"\r\nExpires: Tue, 05 Jun 2012 16:17:11 GMT\r\nDate: Tue, 05 Jun 2012 16:17:06 GMT\r\nCache-Control: public, max-age=5\r\nX-Content-Type-Options: nosniff\r\nX-XSS-Protection: 1; mode=block\r\nServer: GSE\r\n"
        set spdyDict "optionsgetheadpostputdeletetraceacceptaccept-charsetaccept-encodingaccept-languageauthorizationexpectfromhostif-modified-sinceif-matchif-none-matchif-rangeif-unmodifiedsincemax-forwardsproxy-authorizationrangerefererteuser-agent100101200201202203204205206300301302303304305306307400401402403404405406407408409410411412413414415416417500501502503504505accept-rangesageetaglocationproxy-authenticatepublicretry-afterservervarywarningwww-authenticateallowcontent-basecontent-encodingcache-controlconnectiondatetrailertransfer-encodingupgradeviawarningcontent-languagecontent-lengthcontent-locationcontent-md5content-rangecontent-typeetagexpireslast-modifiedset-cookieMondayTuesdayWednesdayThursdayFridaySaturdaySundayJanFebMarAprMayJunJulAugSepOctNovDecchunkedtext/htmlimage/pngimage/jpgimage/gifapplication/xmlapplication/xhtmltext/plainpublicmax-agecharset=iso-8859-1utf-8gzipdeflateHTTP/1.1statusversionurl"
        lassign [chan pipe] inSide outSide
        set strm [zlib stream inflate]
        zlib push deflate $outSide -dictionary $spdyDict
        fconfigure $outSide -blocking 0 -translation binary -buffering none
        fconfigure $inSide -blocking 0 -translation binary
        puts -nonewline $outSide $spdyHeaders
        chan pop $outSide
        $strm put -dictionary $spdyDict [read $inSide]
        list [string length $spdyHeaders] [string length [$strm get]]
    }
    
    time {puts [go]} 100
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"