Skip to content
Tcl Source Code Artifact [3510c5a213]
Login

Artifact [3510c5a213]

Artifact 3510c5a213cfff9acdccb52f233b6f15f058b3d3:

Ticket change [3510c5a213] - New ticket [336441ed59c9f49f|336441ed59] <i>socket -async stall on windows</i>. by oehhar on 2014-03-11 10:27:03.
D 2014-03-11T10:27:03.298
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Within\sbranch\s[https://core.tcl.tk/tcl/timeline?r=win-sock-async-connect-race-fix|win-sock-async-connect-race-fix],\sin\scheckin\s[521b7229c4],\sAndreas\sKupries\sreports\sabout\ssocket-async\sstalls\sdue\sto\snot\sdelivered\sFD_CONNECT\sevent\sby\sthe\soperating\ssystem.\r\nRead\sthe\scheckin\scomment\sfor\sthe\sissue.\r\n\r\nIssues:\r\n\r\n\s\s\s*\s\s\sgets\sor\sputs\smay\snever\sreturn\son\sa\ssocket\swith\sasync\sconnection\r\n\s\s\s*\s\s\sthe\sconnection\snotification\sFD_CONNECT\sis\snot\sobserved\r\n\r\nConclusion:\r\n\s\s\s*\s\s\sFD_CONNECT\sis\snot\ssent\sby\sthe\sOS\r\n\r\nAction:\r\n\s\s\s*\s\s\sUse\sFD_WRITE\sas\sa\sfallback.\sThere\sis\salready\ssuch\scode\sin\sthe\snotifier\sproc.\sThe\sproposed\sfix\suses\sthat\sto\sexit\sgets/puts.\r\n\r\nThis\sticket\sis\screated\sto\sdiscuss\sthe\sissue.\r\n\r\nReinhard\sMax\sand\sHarald\sOehlmann\sare\sworking\son\sthe\s8.6.x\ssocket\scode\sin\sthe\sbranch\s[https://core.tcl.tk/tcl/timeline?r=bug-13d3af3ad5|bug-13d3af3ad5].\r\n\r\nThere,\sthe\ssame\sissue\swas\sobserved.\sThe\sconclusion\swas:\s\r\n\s\s\s*\s\s\sFD_CONNECT\sis\snot\sdelivered,\sif\sthe\ssocet\sconnect\sfails\sbetween\sthe\sconnect()\scall\sand\sthe\sWSAAsyncSelect()\scall\r\n\s\s\s*\s\s\sFD_CONNECT\sis\signored\sif\sdelivered\sbetween\sthe\sWSAAsyncSelect()\scall\sand\sthe\sinsertion\sof\sthe\ssocket\sstructure\sin\sTcpThreadActionProc()\r\n\r\nWithin\sthe\sbranch\s[https://core.tcl.tk/tcl/timeline?r=bug-13d3af3ad5|bug-13d3af3ad5],\sthose\sissues\sare\sfixed.\r\n\r\nThe\sworkaround\sto\suse\sFD_WRITE\sinstead\sFD_CONNECT\swas\sremoved\sin\s[https://core.tcl.tk/tcl/timeline?r=bug-13d3af3ad5|bug-13d3af3ad5].\r\nThe\sissue\sof\sthis\sis,\sthat\san\seventual\sconnect\sfailure\sis\snot\sdetected.\r\nIt\sshould\sbe\sreintroduced,\sif\sthe\sinformation\s"FD_CONNECT's\sare\snot\sdelivered"\sis\scorrect.\r\n\r\nThis\swork\sis\sin\saccordance\swhat\sis\sdone\son\sthe\sUnix\sside.
J foundin 8.5.15
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Critical
J status Open
J submitter oehhar
J subsystem 24.\sChannel\sCommands
J title socket\s-async\sstall\son\swindows
J type Bug
K 336441ed59c9f49fb2dc5414911f5c90c7acdec3
U oehhar
Z c30ba2a8ce0b7e9810b1b85bf4b76a88