Skip to content
Tcl Source Code Artifact [abef5056ba]
Login

Artifact [abef5056ba]

Artifact abef5056ba97a307a08254ab26a98fce41f283fb:

Ticket change [abef5056ba] - Ticket [1329754fffffffff|1329754fff] <i>non-blocking sockets lose data on Windows</i> status still Open with 4 other changes by davygrvy on 2005-10-19 16:44:05.
D 2005-10-19T16:44:05
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nThere\sis\san\sodd\ssituation\swith\sthe\sgeneric\slayer\swhere\sif\san\namount\sof\sread()\soperations\scaused\sby\sa\sgiven\s[gets]\scall\nconsumes\sEOF\sto\sthe\sgeneric\slayer\sit\sends\sup\sbeing\sthe\nresponsibility\sof\sthe\schannel\sdriver\sto\scontinue\sfiring\nreadable\soperations\son\sthe\schannel\suntil\sit\sis\sclosed.\s\sIMO,\nEOF\shad\salready\sbeen\sread\sinto\sthe\sgeneric\slayer\sand\sgiven\nit's\sknowledge\sof\sEOF,\sshouldn't\sthe\schannel\sdriver's\sjob\sbe\ndone\sregarding\snotification?\sAnd\sshouldn't\sit\sbe\sthe\sgeneric\nlayer's\sresponsibility\sto\sfire\soff\sreadable\sinstead?\s\nHonestly,\sthis\sis\squite\sinefficient\swhen\sthe\schannel\sdriver\nwill\snever\sexpect\sanymore\ssystem\snotifications\sfor\sthat\nsocket\sanymore\sand\sneeds\smanufacture\sthem\sjust\sfor\sthis\nsituation.\n\nI'm\snot\ssure\sif\sthis\srelates,\sthough.\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 1329754fffffffffffffffffffffffffffffffff
U davygrvy
Z fcd5488ec95a5f038d4adc8d345aa454