PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mpm_winnt: always invoke ap_lingering_close() at connection end as in
- all other mpm modules, giving everyone a chance to cleanup at prep
- lingering close hook.
- trunk patch: http://svn.apache.org/r1790973
- trunk patch: http://svn.apache.org/r1790978
- 2.4.x patch: trunk works
- +1: icing, steffen, jim (inspection)
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
ap_process_connection(c, context->sock);
- apr_socket_opt_get(context->sock, APR_SO_DISCONNECTED, &disconnected);
+ ap_lingering_close(c);
+ apr_socket_opt_get(context->sock, APR_SO_DISCONNECTED, &disconnected);
if (!disconnected) {
context->accept_socket = INVALID_SOCKET;
- if (!c->aborted) {
- ap_lingering_close(c);
- }
}
}