<i>Socket -server stops accepting connections under load</i> status still Open with 4 other changes
by
.
D 2010-09-23T05:33:34
J icomment >\sseems\sthat\syou\sare\sputting\sthe\slocks\saround\sthe\sstatement\n>\n>\s"infoPtr->acceptEventCount--;"\n\nSorry,\sdoesn't\ssound\sright.\s\sI\sthink\sthe\slock\sis\smeant\sto\sbe\saround\sthis\scode\sblock:\n\n1483\s\s\s\s\s\s\s\s\s\sinfoPtr->acceptEventCount--;\n1484\n1485\s\s\s\sif\s(infoPtr->acceptEventCount\s<=\s0)\s{\n1486\s\s\s\s\s\s\s\sinfoPtr->readyEvents\s&=\s~(FD_ACCEPT);\n1487\s\s\s\s}\n1488\n\n
J login twylite
J mimetype text/plain
J username twylite
K 3056775fffffffffffffffffffffffffffffffff
U twylite
Z cb5279d1a5d6bfe30e1d691b1012440f