2
0
Fork 0

[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:
Stefan Bühler 2013-05-25 11:31:20 +02:00
parent 7a01f69b89
commit 018baa0375
1 changed files with 1 additions and 1 deletions

View File

@ -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) {