Skip to content
Tcl Source Code Artifact [e2aa87d9e7]
Login

Artifact [e2aa87d9e7]

Artifact e2aa87d9e76b124bf4c2d89dd722d53d23d2c4c9:

Ticket change [e2aa87d9e7] - Ticket [2446662fffffffff|2446662fff] <i>chanIO.test failures on Win32 msys/mingw</i> status still Open with 4 other changes by ferrieux on 2009-01-08 14:42:16.
D 2009-01-08T14:42:16
J icomment Re\sblocking\sclose:\safraid\sthe\sanalogy\sis\sa\sbit\sexaggerated\sbecause:\n(1)\sA\schild\sprocess\s"naturally"\scommunicates\ssuccess/failure\svia\sthe\sexit\sstatus,\swhile\sthe\sRST\son\sTCP\sis\sa\smuch\sless\smeaningful\sindication.\sIndeed,\sSO_LINGER\sis\srarely\sused\sby\sservers\s(like\sinetd,\shttpd)\sto\sfine-tune\sconnection\send\s(this\swould\simply\ssetting\sto\shardclose\s\sat\sthe\sbeginning\sof\sprocessing,\sand\sgoing\sback\sto\snormal\sclose\son\scompletion,\sso\sthat\sa\skill\sor\ssegfault\swould\sautomatically\ssend\san\sRST...).\sSo\son\sthe\sclient\sside\sit\swould\sseem\shard\sto\sdepend\son\sit.\n(2)\sPerusing\sthe\s[fconfigure\s-blocking]\sbit\sto\sdecide\sthe\sbehavior\sjust\slike\sfor\spipes\s(which\sdoes\smake\ssense\sex\snihilo)\swould\spose\sa\scompatibility\sissue\swith\ssockets\s(imagine\sapps\stalking\sto\srude\sservers\sthat\sdon't\sreact\sto\sa\sFIN\s...\sthey\swould\sblock\sforever\sin\s[close])\n\nIn\ssummary,\syou\sshould\shave\ssuggested\sthat\sidea\sback\s20yrs\sago\swhen\sSO_LINGER\sstill\sstood\sa\schance\sto\s(a)\sbe\suniformly\simplemented\sby\sTCP\sstacks\sand\s(b)\sbe\sfrequently\sused\sas\sa\sdiagnosis\stool\sby\sserver\swriters...\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2446662fffffffffffffffffffffffffffffffff
U ferrieux
Z 070b34f1a9a92dc4965abfc0127ca538