.
D 2012-10-30T02:57:47
J assignee patthoyts
J cmimetype text/plain
J comment If\shttp::geturl\sis\scalled\swith\s-keepalive\s1\sand\sa\s-command\sthat\senters\sthe\n\sevent\sloop\s(e.g\sfor\san\sauthorization\sdialog),\sand\sthe\sHTTP\sresponse\n\sincludes\sa\s"Content-Length"\sheader,\sthen\sa\s(slow)\srace\scondition\sensues\n\sbetween\sthe\sserver's\sclosing\sof\sthe\sconnection,\sand\sthe\suser's\sresponse\sto\n\sthe\sdialog.\sIf\sthe\sconnection\sis\sclosed\sfirst,\sthe\sunpatched\scode\sfails\sat\n\sline\s1126\swith\srepeated\seof\sfileevents,\sbecause\sthe\scommand\shttp::Eof\stries\n\srepeatedly\sto\srun\sthe\suser's\s-command,\sand\snever\sreturns.\sThis\scan\sbe\n\sreported\sas\s"too\smany\snested\sevaluations".\n\n\sWhile\sit\smight\snot\sbe\sgood\sstyle\sto\sallow\sthe\s-command\sscript\sto\senter\sthe\n\sevent\sloop,\shttp(n)\sdoes\snot\sexclude\sthis\spossibility.\n\n\sThere's\smore\sthan\sone\sway\sto\sfix\sthe\sbug.\sTwo\spossible\spatches\sare\n\sattached.\sEIther\swill\sfix\sthe\sbug;\sboth\sfixes\scan\sbe\sapplied.\n\n\sPatches\sagainst\score-8-5-branch\scheckin\s69687a01db,\sdated\s2012-10-24\n\s11:28:33.
J foundin obsolete:\s8.5.12
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter kjnash
J subsystem 29.\shttp\sPackage
J title EOF\sdetection\swhen\sa\sserver\scloses\sa\skeep-alive\s\sconnection
J type Bug
K 3581754fffffffffffffffffffffffffffffffff
U kjnash
Z f2d158adea50e24fb025b001e2a4be9a