.
D 2023-09-15T17:29:14.817
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment New\stest\sfailures\son\sthe\strunk...\r\n\r\nhttp.test\r\nRunning\shttpd\sin\sthread\stid0x7f37456fb700\r\nRunning\shttpd\sin\sthread\stid0x7f3744efa700\r\n====\sTest\swith\sThreadLevel\s0\s====\r\nRunning\shttpd\sin\sthread\stid0x7f3744efa700\r\n====\sTest\swith\sThreadLevel\s1\s====\r\n\r\n\r\n====\shttp-4.15.1\shttp::Event\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\s#\sThis\stest\smay\sfail\sif\syou\suse\sa\sproxy\sserver.\sThat\sis\sto\sbe\r\n\s\s\s\s#\sexpected\sand\sis\snot\sa\sproblem\swith\sTcl.\r\n\s\s\s\s#\sWith\shttp::config\s-threadlevel\s1\sor\s2,\sthe\sscript\senters\sthe\sevent\sloop\r\n\s\s\s\s#\sduring\sthe\sDNS\slookup,\sand\shas\sthe\sopportunity\sto\stime\sout.\r\n\s\s\s\s#\sIncrease\s-timeout\sfrom\s3000\sto\s10000\sto\sprevent\sthis.\r\n\s\s\s\sset\stoken\s[http::geturl\s//not_a_host.tcl.tk\s-timeout\s10000\s-command\s\\#]\r\n\s\s\s\shttp::wait\s$token\r\n\s\s\s\sset\sresult\s"[http::status\s$token]\s--\s[lindex\s[http::error\s$token]\s0]"\r\n\s\s\s\s#\serror\scodes\svary\samong\splatforms.\r\n\r\n----\sResult\swas:\r\ntimeout\s--\s\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\nerror\s--\scouldn't\sopen\ssocket*\r\n====\shttp-4.15.1\sFAILED\r\n\r\nRunning\shttpd\sin\sthread\stid0x7f3744efa700\r\n====\sTest\swith\sThreadLevel\s2\s====\r\n\r\n\r\n====\shttp-4.15.2\shttp::Event\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\s#\sThis\stest\smay\sfail\sif\syou\suse\sa\sproxy\sserver.\sThat\sis\sto\sbe\r\n\s\s\s\s#\sexpected\sand\sis\snot\sa\sproblem\swith\sTcl.\r\n\s\s\s\s#\sWith\shttp::config\s-threadlevel\s1\sor\s2,\sthe\sscript\senters\sthe\sevent\sloop\r\n\s\s\s\s#\sduring\sthe\sDNS\slookup,\sand\shas\sthe\sopportunity\sto\stime\sout.\r\n\s\s\s\s#\sIncrease\s-timeout\sfrom\s3000\sto\s10000\sto\sprevent\sthis.\r\n\s\s\s\sset\stoken\s[http::geturl\s//not_a_host.tcl.tk\s-timeout\s10000\s-command\s\\#]\r\n\s\s\s\shttp::wait\s$token\r\n\s\s\s\sset\sresult\s"[http::status\s$token]\s--\s[lindex\s[http::error\s$token]\s0]"\r\n\s\s\s\s#\serror\scodes\svary\samong\splatforms.\r\n\r\n----\sResult\swas:\r\ntimeout\s--\s\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\nerror\s--\scouldn't\sopen\ssocket*\r\n====\shttp-4.15.2\sFAILED\r\n\r\n\r\nThe\scomments\ssuggest\sthese\stest\sfailures\smight\sbe\sa\sfalse\salarm,\sbut\r\nif\sthat's\sthe\scase\swe\sshould\sconstruct\sa\sbetter\sway\sto\sdeal\swith\sthat.\r\nWe\sreally\swant\sa\s`make\stest`\sto\sbe\sa\suseful\stool\sfor\severyone,\sand\swe\r\nreally\swant\szero\sfailing\stests\sto\sbe\sthe\sexpected\sresult.\r\n\r\nOn\sthe\sother\shand,\sif\sthe\snew\sfailures\sindicate\sa\sreal\sproblem,\swe\s\r\nshould\sfix\sit.
J foundin trunk
J is_private 0
J login dgp
J priority 5\sMedium
J private_contact 8e2300e85be5dd1445b9666eb9429055951e33be
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 29.\shttp\sPackage
J title http-4.15*\stest\sfailures
J type Bug
K bbaf69c3dd4a2f645fab2a1affa9753158b79063
U dgp
Z 83a16e7762e030d4d2131f458c043268