git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86074
13f79535-47bb-0310-9956-
ffa450edef68
}
else {
context->accept_socket = INVALID_SOCKET;
- /* Disable lingering close for the moment to fix a seg fault.
- * All the sendfile code needs some serious work to return
- * proper error values, handle updating bytes_sent, etc.
- * I'll enable lingering close after I've fixed the sendfile
- * code
- * ap_lingering_close(c);
- */
- ap_bclose(c->client);
+ ap_lingering_close(c);
}
}