Tcl Source Code

Artifact [afb5164b9c]
Login

Artifact afb5164b9cef139cb1b7b665809a0475eb7d3962:

Ticket change [afb5164b9c] - Closed ticket [5425f2c082]: Async socket connect may flag error and still connects plus 5 other changes by max 2013-11-12 13:27:29.
D 2013-11-12T13:27:29.641
J closedate 2456609.06075973
J closer max
J icomment Fixed\sin\s[80ca9fe746]\sand\s[f644fb5a9f].\r\n\r\nWhen\simplementing\smulti-address\s[socket\s-async],\sI\sthought\sit\swould\sonly\sbe\sused\stogether\swith\sfileevent,\sand\s[fconfigure\s-error]\swould\snot\sbe\scalled\sbefore\sthe\sreadable\sevent\shas\sfired.\sBut\snow\sI\ssee\sthat\s-async\swithout\sfileevent\seven\smakes\ssense,\se.g.\sto\strace\sthe\saddresses\sthat\swere\stried\sand\swhy\seach\sof\sthem\sfailed,\sso\sthe\serror\scaching\s(reading\sSO_ERROR\sis\sdestructive)\sneeds\sto\sgo\sboth\sways,\sfrom\sthe\sevent\shandler\shidden\sbehind\s[socket\s-async]\sto\s[fconfigure\s-error]\sand\svice\sversa.
J login max
J mimetype text/plain
J status Closed
K 5425f2c08257f7d9660276c4c8f764ad2d178e1c
U max
Z 2a0ba046963dafa07571f17c117e2b4b