Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ea6ba322bb3c93002440decb5a65803ce288d32e
Ticket: 98c8b3ec125181bb2d8c6c2aa2f10fa9d54ae6a4
zlib-8.10 is broken
User & Date: dkf on 2013-09-04 09:47:15
Changes

  1. icomment:
    I think this has to do with the version of zlib itself in use (I think it's 1.2.5; “Gee! Thanks a lot, Apple!”)<p>
    I've improved the test so in this case it now fails with a less unpleasant error:
    <pre>
    ==== zlib-8.10 transformation and fconfigure FAILED
    ==== Contents of test case:
    
        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
        set compressed [read $inSide]
        catch {
    	zlib inflate $compressed
    	throw BOGUS "should be unreachable"
        } err opt
        list [string length [zlib deflate $spdyHeaders]]  [string length $compressed]  $err [dict get $opt -errorcode]
    
    ---- Result was:
    254 212 {should be unreachable} BOGUS
    ---- Result should have been (exact matching):
    254 212 {data error} {TCL ZLIB DATA}
    ==== zlib-8.10 FAILED
    </pre>
    That takes it back to being just a failing test...
    
  2. login: "dkf"
  3. mimetype: "text/html"
  4. severity changed to: "Important"
  5. username: "dkf"