<i>socket: failed write prevents read</i> status still Open with 4 other changes
by
.
D 2008-11-09T17:34:51
J icomment For\sthe\sfirst\saction,\shere\sis\swhat's\shappening:\nThe\sTcpCloseProc\sis\scalled\sduring\sinterp\sfinalization,\s*but*\sit\scontains\sthe\stest:\n\n/*\n*\sCheck\sthat\sWinSock\sis\sinitialized;\sdo\snot\scall\sit\sif\snot,\sto\sprevent\n*\ssystem\scrashes.\sThis\scan\shappen\sat\sexit\stime\sif\sthe\sexit\shandler\sfor\n*\sWinSock\sran\sbefore\sother\sexit\shandlers\sthat\swant\sto\suse\ssockets.\n*/\nif\s(SocketsEnabled())\s...\n\nso,\sI\sassume\swe're\sbeing\shit\sby\sthis\ssituation:\sSocketExitHandler()\swas\scalled\stoo\searly,\sbefore\sindividual\ssockets\scould\sbe\sclosed\sby\sthe\sgeneric\sTclFinalizeIOSubsystem().\sThe\sresult\sis\sa\sWSACleanup()\sin\smid-life\sof\sall\sopen\ssockets,\shence\sthe\sRST.\n\nNow\sto\slook\sinto\sthe\sorder\sof\sfinalizations\sto\ssee\show\sto\scircumvent\sthis\s;-)\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1028264fffffffffffffffffffffffffffffffff
U ferrieux
Z 9447c1a209955d691c226618a9801839