Overview
| Artifact ID: | 8c9e8adbf54e527622a6fb0148d0e1ffed525ba7 |
|---|---|
| Ticket: | db0a5f6417bcd5f8dbd37377daf1488b60b0c8f0
Tests zlib-8.9 and zlib-8.11 fail with trunk [c7cea9d704] for MSWin 32/MSVC6 |
| User & Date: | aspect on 2016-07-21 13:47:07 |
Changes
- icomment:
adding [close $outSide; close $inSide] to the script to avoid exhausting file descriptors, I've run Ashok's test on linux x86_64 with trunk [632e9e93f1] for some millions of iterations and failed to see any result but {358 358}. I find it unlikely that the inflate side is to blame but that should be easy to eliminate with below changes. Separating deflate, push and pipe not so easy. Random observation: -blocking 0? Could it be as simple as data that hasn't hit the read side of the socket yet? --- zlib-db0a5f6417.tcl.orig 2016-07-21 22:59:53.336528919 +0930 +++ zlib-db0a5f6417.tcl 2016-07-21 22:59:35.126410995 +0930 @@ -8,8 +8,17 @@ 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]] + set zin [read $inSide] + $strm put -dictionary $spdyDict $zin + close $outSide + close $inSide + list [string length $zin] [string length $spdyHeaders] [string length [$strm get]] } -time {puts [go]} 100 +proc t {} { + set gold [go] + while {[incr i] < 100000} { + if {[go] ne $gold} error + } +} +puts [time t 1] - login: "aspect"
- mimetype: "text/plain"