Overview
| Artifact ID: | db5ec9221c551307124c86f17422020d17f769f8 |
|---|---|
| Ticket: | 2446662fffffffffffffffffffffffffffffffff
chanIO.test failures on Win32 msys/mingw |
| User & Date: | davygrvy on 2009-01-06 10:28:52 |
Changes
- icomment:
Alexandre, There might be a timing issue in tclWinSock.c:TcpInputProc() here: /* * If an error occurs after the FD_CLOSE has arrived, then ignore the * error and report an EOF. */ if (infoPtr->readyEvents & FD_CLOSE) { infoPtr->flags |= SOCKET_EOF; bytesRead = 0; break; } readyEvents is set by the event thread. Timing maybe such that it had arrived behind this FD_READ (that is being serviced now) with a WSAECONNRESET or WSAEDISCON ahead of us but not yet read upon, thus a silent reset, maybe? And truncated data? I don't know if winsock can't wind itself into such a state. No available debugging tools to play with at the moment.. sorry. I would dip in if I could, but can't at the moment. - login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"