Skip to content
Tcl Source Code Artifact [69e0b71afb]
Login

Artifact [69e0b71afb]

Artifact 69e0b71afb25a1de98e558c4fd013d81a6562afd:

Ticket change [69e0b71afb] - New ticket [218557ffffffffff|218557ffff] <i>can&#39;t catch ::eof error in ::http::CopyDone</i>. by nobody on 2000-10-26 01:02:08.
D 2000-10-26T01:02:08
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1108\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-01-26'\nLastModified:\s'1999-02-02'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\swelch\nChangedBy:\sstanton\nOS:\sLinux\nOSVersion:\sslackware\s3.5,\skernel\s2.0.36\nMachine:\sOther\nFixedDate:\s'1999-02-02'\nFixedInVersion:\s8.0.5\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nLuc\sDeschenaux\n\n\n\nExtensions:\n\ntk,\shttp2.0\n\n\n\nCustomShell:\n\nI\sjust\smodified\sthat\sline..\s\n\n\n\nReproducibleScript:\n\nThe\serror\soccurs\safter\sa\s::http::reset\sduring\n\na\scatch\s{::http:geturl\s-progress}\n\n\n\nI\scan't\scatch\sit\s!..\sthe\sprogress\sproc\sis\scalling\supdate\n\nand\s::http::reset\sis\scalled\sfrom\sa\sbutton\s-command\n\n\n\n\n\n\n\nObservedBehavior:\n\nSTACK\sTRACE_______________________________________________\n\ncan\snot\sfind\schannel\snamed\s"sock5"\n\n\s\s\s\swhile\sexecuting\n\n"::eof\s$s"\n\n\s\s\s\s(procedure\s"http::CopyDone"\sline\s11)\n\n\s\s\s\sinvoked\sfrom\swithin\n\n"http::CopyDone\s::http::4\s8192"\n\n\n\n\n\n\n\nDesiredBehavior:\n\nI\swish\stcl\scatch\sit\sfor\sme\sas\sI\sthink\she\sis\sexpected\sto\sdo..\n\n\n\n\n\n\n\nPatch:\n\n***\shttp.tcl.orig\s\s\s\s\s\s\sSat\sJan\s\s9\s05:58:08\s1999\n\n---\shttp.tcl\s\s\s\sSat\sJan\s\s9\s05:59:24\s1999\n\n***************\n\n***\s362,368\s****\n\n\s\s\s\s\s\s}\n\n\s\s\s\s\s\sif\s{([string\slength\s$error]\s!=\s0)}\s{\n\n\s\s\s\s\s\s\s\sFinish\s$token\s$error\n\n!\s\s\s\s\s}\selseif\s{[::eof\s$s]}\s{\n\n\s\s\s\s\s\s\s\sEof\s$token\n\n\s\s\s\s\s\s}\selse\s{\n\n\s\s\s\s\s\s\s\sCopyStart\s$s\s$token\n\n---\s362,368\s----\n\n\s\s\s\s\s\s}\n\n\s\s\s\s\s\sif\s{([string\slength\s$error]\s!=\s0)}\s{\n\n\s\s\s\s\s\s\s\sFinish\s$token\s$error\n\n!\s\s\s\s\s}\selseif\s{[catch\s{::eof\s$s}\siseof]\s||\s$iseof}\s{\n\n\s\s\s\s\s\s\s\sEof\s$token\n\n\s\s\s\s\s\s}\selse\s{\n\n\s\s\s\s\s\s\s\sCopyStart\s$s\s$token\n\n\n\n\n\n\n\n\n\nPatchFiles:\n\nTcl8.0/http2.0/http.tcl\n\n\n\n\n\n\n\n\n\nThe\spatch\sis\sonly\sa\sworkaround.\sThe\srelevant\sfact\sis\sthat\swish\sdisplay\san\serror\smessage\swhen\seof\sfails\sin\sa\schild\sprocedure\swhile\sthe\sparent\sprocedure\sis\scalled\sfrom\swithin\sa\scatch\sstatement.\n\nI\sthink...\s\sbut\sI'm\snew\sto\sTcl/Tk\sI\scan\sbe\swrong...\sI\shave\sjust\sread\sthe\sfirst\slines\sof\scatch\sman\spage..\n\nmay\sI\sinclude\sthe\spatched\sfile\shttp.tcl\swithin\smy\sapplication\sinstead\sof\spatching\shttp.tcl\sand\susing\s"package\srequire\shttp",\sin\sorder\sto\savoid\sforcing\susers\sto\spatch\stheir\shttpd.tcl\s?\sor\shave\syou\sa\sbetter\ssolution\s?\n\n
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title can't\scatch\s::eof\serror\sin\s::http::CopyDone
J type Bug
K 218557ffffffffffffffffffffffffffffffffff
U nobody
Z 4539df88c8e430828e6f02114109459d