D 2012-05-11T17:27:33 J assignee dkf J cmimetype text/plain J comment Hi!\n\nI've\stried\sto\suse\s[zlib\spush\sdecompress]\son\san\sunblocked\snetwork\schannel\sand\sfound\sthat\sit\sdoesn't\sread\sfrom\sthe\schannel\sif\sit\sisn't\sclosed\sby\sthe\speer.\sIn\sthe\sattached\sscript\sthe\sserver\spart\sputs\stwo\sstrings\sinto\sa\scompressed\schannel\s(one\simmediately\sand\sthe\sother\safter\s5\ssecond\sdelay).\sApparently,\sthe\sclient\sside\sreadable\sfileevent\sfires\smany\stimes\sduring\sthese\s5\sseconds\sbut\s[read\s$chan]\sreturns\sempty\sstring\severy\stime.\sAfter\sthe\sfinishing\s[close]\sthe\sclient\sreads\sand\sreports\sthe\smessage\s(but\sonly\sthe\ssecond\sone!).\n\nI\swould\sexpect\sthe\sboth\smessages\swere\sprinted.\n\nCurrently,\sI\scan\suse\sa\sseparate\s[zlib\sstream\sdecompress]\sand\sread\sthe\sraw\sbytes\sfrom\sthe\schannel,\sbut\sI\sdon't\sthink\sthat\sit's\sa\sperfect\ssolution. J foundin obsolete:\s8.6b2 J is_private 0 J priority 5\sMedium J resolution None J status Open J submitter teopetuk J subsystem 57.\szlib J title [zlib\spush\sdecompress]\sdoesn't\swork\swith\s[fileevent\sreadabl] J type Bug K 3525907fffffffffffffffffffffffffffffffff U teopetuk Z 6cee3d056bca324b9487500555fd1c41