2
0
Fork 0

Fix mod_accesslog vr_close handling

This commit is contained in:
Stefan Bühler 2009-10-07 13:10:26 +02:00
parent 90447c6cec
commit 13904f9aa8
1 changed files with 1 additions and 1 deletions

View File

@ -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;