git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86682
13f79535-47bb-0310-9956-
ffa450edef68
apr_getsocketopt(context->sock, APR_SO_DISCONNECTED, &disconnected);
- if (disconnected) {
- /* I have no idea if we should do anything here, so I leave this
- * for a windows guy
- */
- /* Kill the clean-up registered by the iol. We want to leave
- * the accept socket open because we are about to try to
- * reuse it
- */
- }
- else {
+ if (!disconnected) {
context->accept_socket = INVALID_SOCKET;
ap_lingering_close(c);
}