[mod_fastcgi] abort request only if headers aren't sent; otherwise stream disconnect will handle it
out stream disconnects will lead to fastcgi_reset too, but the vrequest is fine in that case
This commit is contained in:
parent
7a01f69b89
commit
018baa0375
|
@ -71,7 +71,7 @@ static void fastcgi_con_reset_cb(liVRequest *vr, liFastCGIBackendPool *pool, liF
|
|||
UNUSED(pool);
|
||||
|
||||
li_fastcgi_backend_put(bcon);
|
||||
li_vrequest_error(vr);
|
||||
if (vr->state < LI_VRS_HANDLE_RESPONSE_HEADERS) li_vrequest_error(vr);
|
||||
fastcgi_context_release(ctx);
|
||||
}
|
||||
static void fastcgi_con_end_request_cb(liVRequest *vr, liFastCGIBackendPool *pool, liFastCGIBackendConnection *bcon, guint32 appStatus) {
|
||||
|
|
Loading…
Reference in New Issue