<i>Unix test results on socket -async depend on timing and network configuration</i>.
by
.
D 2015-05-29T12:52:08.481
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Bug\s[13d3af3ad]\swas\sstarted\sas\sa\swindows\sbug\sand\sis\sfixed,\sbut\scontains\smany\sinformation\sabout\sthe\sfollowing\sunix\sissue.\r\nI\sdecided\sto\sclose\sthe\supper\sbug\sand\scontinue\sthe\sdiscussion\sfor\sUnix\sin\sthis\sthread.\r\n\r\n'socket\s-async'\stests\sall\sIPs\savailable\sfor\sa\scertain\shost\suntil\sone\ssucceeds.\r\nThis\slist\smight\sbe\squite\slong\sif\sIPV6\sis\sused.\r\nThe\stest\s(failure)\smay\stake\sminuits\sif\sinternet\sis\sinvolved\suntil\smicroseconds\son\sthe\slocalhost.\r\n\r\nIn\sthe\sscope\sof\sthis,\sit\sis\sdifficult\sto\stest\sthe\sinternal\sfunctioning\sof\s'socket\s-async'\sand\sthe\sinteraction\swith\sother\scommands\sgets/read/puts/fconfigure/close/eof.\r\n\r\nIn\saddition,\sthe\stcl\schannel\ssystem\sis\sdemanded\sin\sa\shigh\slevel,\sas\s"E_WOULDBLOCK"\sis\sreturned\sinternally\swhile\sthe\sconnection\sis\sin\sprogress.\r\nThis\smay\sresult\sin\sa\spile\sof\sbuffered\swrites\sand\sbuffered\serrors,\swhich\sshould\sshow\sup\slater.\r\n\r\nSo\sthe\sissue\sof\sthis\sticket\sis:\r\n\s\s\s*\s\s\sfailing\stests\swith\ssome\sconfigurations\son\sunix:\ssocket-14.2,\ssocket-14.7.0,\ssocket-14.7.2,\ssocket-14.8.2,socket-14.11.0,\ssocket-14.11.1,\ssocket-14.12,\ssocket-14.14,\ssocket-14.15,\ssocket_inet-2.13,\shttp-4.14.\sDetails\sare\sin\sthe\scomments\sof\sbug\s[13d3af3ad]\r\n\s\s\s*\s\s\sunix\sand\smacos\sonly.\sWindows\stakes\saround\sone\ssecond\sto\sfail\sa\slocalhost\sconnect,\senough\stime\sfor\sall\stests\sto\spass.\r\n\r\nSolutions\sare:\r\n\s\s\s*\s\s\sControl\sthe\sprocessing\sby\sa\stest\scommand.\sImplemented\sin\sthis\sbranch:\s[robust-async-connect-tests]\r\n\r\nSee\salso:\s[http://wiki.tcl.tk/39687]
J foundin 8.6.4
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Minor
J status Open
J submitter oehhar
J subsystem 25.\sChannel\sSystem
J title Unix\stest\sresults\son\ssocket\s-async\sdepend\son\stiming\sand\snetwork\sconfiguration
J type Bug
K 42d50ebd0c001f77a55fbed21f469a57d85f2526
U oehhar
Z 9692246e7ff3bd5110bcac69ad4afeb6