Skip to content
Tcl Source Code Artifact [bbc658b0dd]
Login

Artifact [bbc658b0dd]

Artifact bbc658b0dd88c9883ee7263926e42893ab2819dd:

Ticket change [bbc658b0dd] - Ticket [1818565fffffffff|1818565fff] <i>http::wait error</i> status still Open with 5 other changes by patthoyts on 2007-11-15 16:57:01.
D 2007-11-15T16:57:01
J assignee patthoyts
J icomment Logged\sIn:\sYES\s\nuser_id=202636\nOriginator:\sNO\n\nThis\serror\soccurs\swhen\sthe\stoken\shas\sbeen\sdeleted\salready\sfor\ssome\sreason.\sYou\scan\ssee\sthis\sif\swe\spass\sin\sa\sbogus\sarray\sname:\n%\snamespace\seval\sxyz\s{}\n%\shttp::status\s::xyz::1\ncan't\sread\s"state(status)":\sno\ssuch\svariable\n\nThe\stkchat\scode\sin\squestion\shas\sa\scommand\sprocedure\sso\swe\sdon't\scall\shttp::wait\sfrom\shttp::geturl\sfor\sreading\sbut\swe\shave\sa\s-timeout\sso\swe\scall\sthis\sfor\sconnection\ssetup.\sSo\sin\shttp::Connect\swe\smust\sbe\sgetting\san\s[eof]\sor\sa\ssocket\serror\sbut\sthis\sshould\sset\sthe\sstate(status)\sto\s'error'.\sHowever\swe\sthen\scall\sFinish\swhich\scalls\sthe\suser\sprovided\s-command\sprocedure\sand\sthe\stkchat\sone\swill\scleanup\sthe\stoken.\n\nI\sthink\swhats\sgoing\son\sis\san\serror\sin\sconnection\ssets\san\serror\sstatus,\scalls\sthe\sapplication\scommand\sprocedure\swhich\scleanup\sand\sthen\sthe\svwait\sgets\sa\schance\sto\srun\sand\sthe\shttp::wait\sfinishes\sbut\swith\sa\sdeleted\sarray.\n\nIf\sthis\sis\scorrect\sI\sthink\syou\sshould\sbe\sseeing\sa\stk_messageBox\swith\sa\s"Fetch\sURL\serror:\s..."\smessage\sfrom\sthe\stkchat\scommand\sprocedure\sat\saround\sthe\ssame\stime.\n
J login patthoyts
J mimetype text/plain
J username patthoyts
K 1818565fffffffffffffffffffffffffffffffff
U patthoyts
Z 301d96b5707af2b0acbf5c0482e2c53d