<i>Busyloop in vwait in innocent HTTP code</i> status still Open with 4 other changes
by
.
D 2009-11-11T06:34:00
J icomment In\sTclIO.c\s+8710:\sI\ssee\sthat\sin\sthe\sbinary->non-binary\scase,\swe\scorrectly\scall\sDoWriteChars,\sbut\swe\sthen\suse\sthe\sreturned\snumber\sof\sbytes\s(which\sis\s4165\shere\sfor\san\sinitial\s4096\sbuffer).\sThen\swhen\swe\sdecrement\sthe\stotal\scount\sto\sread\sby\sthis\svalue,\swe\sget\sa\snegative\sresult:\n\nif\s(outBinary\s||\ssameEncoding)\s{\n\s\s\s\ssizeb\s=\sDoWrite(outStatePtr->topChanPtr,\sbuffer,\ssizeb);\n}\selse\s{\n\s\s\s\ssizeb\s=\sDoWriteChars(outStatePtr->topChanPtr,\sbuffer,\ssizeb);\n}\n\nif\s(inBinary\s||\ssameEncoding)\s{\n\s\s\s\s/*\n\s\s\s\s\s*\sBoth\sread\sand\swrite\scounted\sbytes.\n\s\s\s\s\s*/\n\n\s\s\s\ssize\s=\ssizeb;\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2895565fffffffffffffffffffffffffffffffff
U ferrieux
Z 81ba0ab5eff4d08ea9e7d35480ba6243