<i>async socket connect fail does not fire readable event</i> status still Open with 5 other changes
by
.
D 2014-04-02T12:47:26.099
J comment <H1>Issue</H1>\r\nOn\swindows,\sa\sreadable\sfileevent\son\sa\sfailed\sasync\ssocket\sconnect\sonly\sfires,\sif\sthere\sis\salso\sa\swritable\sfileevent.\r\n\r\n<H1>Examples</H1>\r\nFollowing\sexamples\sare\sin\swish\sso\sthere\sis\san\sevent\sloop\srunning.\r\n\r\n<h2>Only\sreadable\sfileevent\sdoes\snot\sfire</h2>\r\n\r\n<verbatim>\r\n%\sset\sh\s[socket\s-async\slocalhost\s30001]\r\nsock448\r\n%\sfileevent\s$h\sreadable\s{puts\sR:[fconfigure\s$h\s-error];close\s$h}\r\n</verbatim>\r\n\r\n<h2>Readable\sand\swritable\sfileevent\sfire\sboth</h2>\r\n\r\n\r\nFileevent\sfires,\sif\sthere\sis\salso\sa\swritable\sfile\sevent\s(\sas\sin\sbug\s[794839]):\r\n<verbatim>\r\n%\sset\sh\s[socket\s-async\slocalhost\s30001]\r\nsock448\r\n%\sfileevent\s$h\sreadable\s{puts\sR:[fconfigure\s$h\s-error];close\s$h}\r\n%\sfileevent\s$h\swritable\s{puts\sW}\r\nW\r\nR:connection\srefused</verbatim>\r\n</verbatim>\r\n\r\n<h1>TCL8.6.1</H1>\r\n\r\nThe\ssame\sissue\sis\salso\spresent\sin\stcl8.6.1,\sbut\salready\sfixed\sin\sbranch\sbug-13d3af3ad5,\scheckin\s[f1d2f6dbad].
J icomment Fix\sand\stest\sin\scheckin\s[29adf4bac3]\sof\sbranch\sbug-581937ab1e
J login oehhar
J mimetype text/x-fossil-wiki
J username oehhar
K 581937ab1e2a1c69d61b23bd90179bd35f212d8d
U oehhar
Z 72576c06d624cb01e71fee6bad314f53