<i>fconfigure <sock> -error called twice in Connect</i> status still Open with 4 other changes
by
.
D 2012-01-13T04:34:42
J icomment I'm\snot\sreally\ssure\swhy\sthis\sdidn't\sjust\sget\srolled\sinto\sthe\sdocumentation\sfix.\sSomeone\swith\smore\sfamiliarity\swith\sfossil\scan\sapply\sthis:\nIndex:\slibrary/http/http.tcl\n===================================================================\n---\slibrary/http/http.tcl\n+++\slibrary/http/http.tcl\n@@\s-864,13\s+864,13\s@@\n\s\s\s\s\svariable\s$token\n\s\s\s\s\supvar\s0\s$token\sstate\n\s\s\s\s\sglobal\serrorInfo\serrorCode\n\s\s\s\s\sif\s{\n\s\s\s\s\s\s\s\s[eof\s$state(sock)]\s||\n-\s\s\s\s\s\s\s[string\slength\s[fconfigure\s$state(sock)\s-error]]\n+\s\s\s\s\s\s\s[string\slength\s[set\ssockerr\s[fconfigure\s$state(sock)\s-error]]]\n\s\s\s\s\s}\sthen\s{\n-\s\s\s\s\s\s\sFinish\s$token\s"connect\sfailed\s[fconfigure\s$state(sock)\s-error]"\s1\n+\s\s\s\s\s\s\sFinish\s$token\s"connect\sfailed\s$sockerr"\s1\n\s\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\sset\sstate(status)\sconnect\n\s\s\s\s\s\s\s\sfileevent\s$state(sock)\swritable\s{}\n\s\s\s\s\s}\n\s\s\s\s\sreturn\n
J login patthoyts
J mimetype text/plain
J username patthoyts
K 3472316fffffffffffffffffffffffffffffffff
U patthoyts
Z c2e1b3d22422011ec492db82fd802688