Overview
| Artifact ID: | f46a576bbefd735a889661d4db7db37b4e79a8b6 |
|---|---|
| Ticket: | 3525907fffffffffffffffffffffffffffffffff
[zlib push decompress] doesn't work with [fileevent readabl] |
| User & Date: | teopetuk on 2012-05-11 17:27:33 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi! I've tried to use [zlib push decompress] on an unblocked network channel and found that it doesn't read from the channel if it isn't closed by the peer. In the attached script the server part puts two strings into a compressed channel (one immediately and the other after 5 second delay). Apparently, the client side readable fileevent fires many times during these 5 seconds but [read $chan] returns empty string every time. After the finishing [close] the client reads and reports the message (but only the second one!). I would expect the both messages were printed. Currently, I can use a separate [zlib stream decompress] and read the raw bytes from the channel, but I don't think that it's a perfect solution.
- foundin changed to: "obsolete: 8.6b2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "teopetuk"
- subsystem changed to: "57. zlib"
- title changed to:
[zlib push decompress] doesn't work with [fileevent readabl]
- type changed to: "Bug"