=== modified file 'src/cf.data.pre' --- src/cf.data.pre 2008-11-09 03:37:11 +0000 +++ src/cf.data.pre 2008-12-16 02:02:46 +0000 @@ -3187,6 +3187,7 @@ DOC_END NAME: broken_posts +IFDEF: HTTP_VIOLATIONS TYPE: acl_access DEFAULT: none LOC: Config.accessList.brokenPosts === modified file 'src/http.cc' --- src/http.cc 2008-12-12 00:17:10 +0000 +++ src/http.cc 2008-12-16 02:00:56 +0000 @@ -1931,6 +1931,7 @@ void HttpStateData::doneSendingRequestBody() { +#if HTTP_VIOLATIONS ACLChecklist ch; debugs(11,5, HERE << "doneSendingRequestBody: FD " << fd); ch.request = HTTPMSGLOCK(request); @@ -1941,11 +1942,15 @@ /* cbdataReferenceDone() happens in either fastCheck() or ~ACLCheckList */ if (!Config.accessList.brokenPosts) { +#endif /* HTTP_VIOLATIONS */ + debugs(11, 5, "doneSendingRequestBody: No brokenPosts list"); CommIoCbParams io(NULL); io.fd=fd; io.flag=COMM_OK; sendComplete(io); + +#if HTTP_VIOLATIONS } else if (!ch.fastCheck()) { debugs(11, 5, "doneSendingRequestBody: didn't match brokenPosts"); CommIoCbParams io(NULL); @@ -1959,6 +1964,8 @@ AsyncCall::Pointer call= asyncCall(11,5, "HttpStateData::SendComplete", dialer); comm_write(fd, "\r\n", 2, call); } +#endif /* HTTP_VIOLATIONS */ + } // more origin request body data is available === modified file 'src/structs.h' --- src/structs.h 2008-12-12 00:17:10 +0000 +++ src/structs.h 2008-12-16 02:01:26 +0000 @@ -465,8 +465,9 @@ acl_access *snmp; #endif - +#if HTTP_VIOLATIONS acl_access *brokenPosts; +#endif #if USE_IDENT acl_access *identLookup;