Overview
| Artifact ID: | e19734b9950b0bda55cf6f1e42ba6e1c696c2aae |
|---|---|
| Ticket: | 3325339fffffffffffffffffffffffffffffffff
socket-14.2 fails |
| User & Date: | ferrieux on 2011-06-28 13:54:57 |
Changes
- icomment:
OK. In fact, as Konstantin Khomoutov mentioned on the chat, the error-resetting is documented, and hence not so kernel-dependent: SO_ERROR Get and clear the pending socket error. Only valid as a getsockopt(2). Expects an integer. What *is* kernel dependent, instead, is the secondary side-effect of clearing the writable status. So, it seems the way out is to arrange for the cached writable-fileevents to be posted directly, without going again through the notifier's select(). Other fileevents (readable) must still be hooked normally, since at that spot we have no proof that the socket is/was readable. - login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"