Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dcb1a738ea2e9c03a5d9ceeffd6a426ed98444bc
Ticket: 3525907fffffffffffffffffffffffffffffffff
[zlib push decompress] doesn't work with [fileevent readabl]
User & Date: andreas_kupries on 2012-05-17 01:21:30
Changes

  1. icomment:
    Moving the 
    
       chan configure $chan -flush sync
    
    before the puts of the first message (still after the zlib transform is pushed) gets us both messages on the receiver side. I.e. no loss of bytes anymore. It still receives them only when the channel is closed.
    
    I suspect that the "-flush sync" (is intended to) activate(s) the special zlib flush code forcing out the data buffered in the zlib transform without ending the zlib stream.
    
    This part doesn't seem to work correctly.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"