mod_isapi: Do not unload an isapi .dll module until the request
processing is completed, avoiding orphaned callback pointers.
Submitted by: Brett Gervasoni <brettg senseofsecurity.com>, trawick
Reviewed by: trawick, wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@920961
13f79535-47bb-0310-9956-
ffa450edef68
/* Set up client input */
res = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR);
if (res) {
- isapi_unload(isa, 0);
return res;
}
}
if (res < 0) {
- isapi_unload(isa, 0);
return HTTP_INTERNAL_SERVER_ERROR;
}