<i>server fails with -encoding binary</i> status still Open with 4 other changes
by
.
D 2002-05-25T01:26:58
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nYep.\sWhat\shappens\sis\sthis:\sWhen\sthe\sserver\ssocket\sis\s\nreconfigured\sthe\ssystem\swill\scall\sTcpWatchProc\sin\s\ntclWinSock.c\sto\supdate\sfor\swhich\sevents\sto\slook.\sAdding\s\nsome\stracing\sstatements\sto\sthis\sroutine\swe\ssee:\n\n$\s./bin/tclsh84s.exe\n%\sfconfigure\s[set\sa\s[socket\s-server\shoo\s0]]\s-sockname\n0.0.0.0\s0.0.0.0\s1143\n%\sfconfigure\s$a\s-encoding\s1143\nunknown\sencoding\s"1143"\n%\sfconfigure\s$a\s-encoding\sbinary\nFD_READ\s\s\s\s=\s001\nFD_WRITE\s\s\s=\s002\nFD_CLOSE\s\s\s=\s032\nFD_ACCEPT\s\s=\s008\nFD_CONNECT\s=\s016\nwatch\s\s\s\s\s\s=\s008\nselect\s\s\s\s\s=\s008\nwatch/new\s\s=\s000\nselect/new\s=\s008\n\nwatch\sdetermines\swhich\sevents\sare\swatched\sby\swindows\sfor\s\nthe\shandle,\sand\sACCEPT\sis\sthe\sevent\ssent\sif\sa\snew\s\nconnection\sarrives\son\sthe\ssocket.\sAs\swe\scan\ssee\sthe\s\nACCEPT\sis\scleared\scompletely.\sThis\sis\sbecause\sthe\sserver\s\nsocket\sis\sneither\sreadable\snor\swritable.\n\nUnix\ssystems\sare\snot\saffected\sbecause\sthey\scheck\sif\san\s\nacceptProc\sis\sset\s(tclUnixChan.c,\sline\s2354,\sTcpWatchProc)\s\nand\savoid\smessing\swith\sthe\smasks\sand\sevents\sif\sthat\sit\sso.\n\nWe\shave\sto\sperform\sthe\ssame\scheck\sfor\sWindows.\n\nThe\smechanism\son\sMac\sis\sunclear.\sThis\smeans\sthat\sthis\nreport\shas\sto\sbe\sgiven\sto\sthe\smac\smaintainers\sto\smake\ssure\nthat\sthis\sbug\sis\snot\spresent\sfor\sthat\splatform\stoo.\n\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 557878ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 6c4f91c951b19d96c88f136533a74ee0