Permalink
Browse files

end_of_data_handler: respond with allow 204 only if supported by client

  • Loading branch information...
1 parent 55783fe commit d617d10cc34c8357b316455f50e02a0729762791 @mmatuska mmatuska committed Jul 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/squidclamav.c
View
@@ -715,7 +715,7 @@ int squidclamav_end_of_data_handler(ci_request_t * req)
return CI_MOD_DONE;
}
- if (!ci_req_sent_data(req)) {
+ if (!ci_req_sent_data(req) && ci_req_allow204(req)) {
ci_debug_printf(2, "DEBUG squidclamav_end_of_data_handler: Responding with allow 204\n");
return CI_MOD_ALLOW204;
}

0 comments on commit d617d10

Please sign in to comment.