Fix mod_accesslog vr_close handling

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent 90447c6cec
commit 13904f9aa8

@ -371,7 +371,7 @@ static void al_handle_vrclose(liVRequest *vr, liPlugin *p) {
UNUSED(p);
if (resp->http_status == 0 || !log || !format)
if (LI_VRS_CLEAN == vr->state || resp->http_status == 0 || !log || !format)
/* if status code is zero, it means the connection was closed while in keep alive state or similar and no logging is needed */
return;

Loading…
Cancel
Save