The ECONNABORTED error of accept() means that a pending connect request in the listen queue was aborted by the peer before we could accept the connection. This is not a fatal error. If the listening socket is blocking, PR_Accept() should handle ECONNABORTED the same way it handles EAGAIN or EWOULDBLOCK and loop back to retry accept().
I checked in the proposed patch v2 on the trunk. I only fixed the Unix implementation of PR_Accept(). I don't know whether Winsock's accept() would also fail with the WSAECONNABORTED error under the same condition. I guess we will fix it when such errors are observed or reported by a customer.
Status: NEW → RESOLVED
Closed: 18 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 4.2
You need to log in before you can comment on or make changes to this bug.