<i>socket: failed write prevents read</i> status still Open with 4 other changes
by
.
D 2008-11-09T06:06:56
J icomment OK\sgot\sit,\sguys\s:-)\nThe\skey\shere\sis\swhether\sthe\sclient\sdoes\san\sexplicit\s[close]\sof\sthe\ssocket\sbefore\sexiting.\nIf\sit\sdoes,\sthe\swhole\sOS\ssocket\sbuffer\sis\sactually\ssent\sover\sthe\swire,\s*and*\sa\sFIN\sTCP\spacket\sends\sthe\sstream.\nIf\sit\sdoesn't,\sthe\sstream\sis\struncated\s(depending\son\sthe\sspeed\sof\sthings),\s*and*\san\sRST\sTCP\spacket\sgoes\sout\son\sthe\struncation.\nThis\sRST\sin\sturn\swreaks\shavoc\sin\sthe\sreceiver.\nSo\sa\sfirst\saction\sshould\sbe\sto\smake\ssure\sTcl\sfinalizers\sdo\sthe\ssame\sthing\sas\s[close].\nA\ssecond\saction\swould\sbe\sto\sdecide\swhether\sit\sis\slegal\sfor\sthe\sreceiveing\sOS\sto\sdiscard\sinput\son\san\sRST.\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1028264fffffffffffffffffffffffffffffffff
U ferrieux
Z 529f98732bd07e87d75a38599df6d3ba