Skip to content
Tcl Source Code Artifact [4a84a29b8e]
Login

Artifact [4a84a29b8e]

Artifact 4a84a29b8efe32a6e42f5e984bb5c43b4ef9ab2b:

Ticket change [4a84a29b8e] - Ticket [2762041fffffffff|2762041fff] <i>http11.test test case fails</i> status still Open with 4 other changes by andreas_kupries on 2010-02-23 05:16:01.
D 2010-02-23T05:16:01
J icomment Regarding\s"that\scase\sthe\sbuffered\szlib'd\sinput\sis\snot\sproperly\spassed\sdown\sthe\sstack."\n\nYou\sare\slooking\sinto\sthe\swrong\sdirection.\sThis\sis\sabout\s_input_.\sInput\swalks\s_up_\sthe\sstack.\nAnd\swhile\sa\stransformation\sis\sable\sto\sflush\sdata\swaiting\sin\sits\sstate\sdown\sthe\sstack\son\schan\spup,\sthus\sflushing\s_write_\sbuffers,\sthe\ssame\sis\snot\spossible\sfor\sdata\swaiting\s_read_\sbuffers/state.\sThey\shave\snowhere\sto\sgo.\sReading\sis\sdemand-driven\sfrom\sthe\score\sI/O\slayer,\sthe\sdriver\scannot\sannounce\s'hey\shere\sis\ssome\sdata\sto\ssplace\sinto\syour\sinput\sbuffer\squeue.\n\nThis\smeans\sdata\swaiting\sto\sbe\sread\sat\sthe\stime\s'chan\spop'\sis\sdone\s(or\sC\sequivalent)\sis\s_lost_.\n\nAnd\sthis\sseems\sto\sme\sto\sbe\scase\shere.\sSometimes,\sthe\s'close'\sis\sdone\searly,\sbefore\sall\sthe\sdecompressed\sdata\shas\sbeen\sread\sout\sof\sthe\szlib\sstate.\n\nI\shave\sseen\sthe\shttp-2.6\stest\sfailing\sand\ssucceeding\shere\snow.\sMore\sfail,\sbut\ssometimes\sit\sis\sok.\sAnd\sfor\sthat\scase\smy\strace\sof\sthe\szlib\stransform\sinternals\sshows\s16\scalls\sof\sZlibTransformInput\safter\sthe\sinitial\scall\sof\ssame\swhich\spulled\sthe\sdata\sfrom\sthe\sbase\schannel.\sIn\sthe\sfailing\scase\snone\sof\sthese\sadditional\scalls\shappen,\sonly\sthe\sZlibTransformClose\simmediately\safter\sthe\sinitial\scall\spulling\sdata\s...\sIt\sreally\slooks\slike\sa\srace\sto\sme\swhere\sthe\sclose\sis\sdone\searly,\scausing\sthe\spending\sdata\sto\sbe\slost\sper\sthe\sexplanation\sabove.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2762041fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 5f03eaceea759c3ac468acec78e523e1