From: Eduard Bagdasaryan Date: Thu, 28 Jun 2018 11:20:04 +0000 (+0000) Subject: Supply ALE for force_request_body_continuation ACL (#226) X-Git-Tag: M-staged-PR227~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5810a9946568f69319ee79dc93c4795e47a07cd7;p=thirdparty%2Fsquid.git Supply ALE for force_request_body_continuation ACL (#226) cb36505 already covered many (but not all) similar cases. --- diff --git a/src/servers/FtpServer.cc b/src/servers/FtpServer.cc index c6ffa94fb6..37acca4ba0 100644 --- a/src/servers/FtpServer.cc +++ b/src/servers/FtpServer.cc @@ -1545,6 +1545,8 @@ Ftp::Server::handleUploadRequest(String &, String &) ClientHttpRequest *http = pipeline.front()->http; HttpRequest *request = http->request; ACLFilledChecklist bodyContinuationCheck(Config.accessList.forceRequestBodyContinuation, request, NULL); + bodyContinuationCheck.al = http->al; + bodyContinuationCheck.syncAle(request, http->log_uri); if (bodyContinuationCheck.fastCheck().allowed()) { request->forcedBodyContinuation = true; if (checkDataConnPost()) { diff --git a/src/servers/Http1Server.cc b/src/servers/Http1Server.cc index f12a34c43b..b0ae347682 100644 --- a/src/servers/Http1Server.cc +++ b/src/servers/Http1Server.cc @@ -256,6 +256,8 @@ Http::One::Server::processParsedRequest(Http::StreamPointer &context) if (Config.accessList.forceRequestBodyContinuation) { ACLFilledChecklist bodyContinuationCheck(Config.accessList.forceRequestBodyContinuation, request.getRaw(), NULL); + bodyContinuationCheck.al = http->al; + bodyContinuationCheck.syncAle(request.getRaw(), http->log_uri); if (bodyContinuationCheck.fastCheck().allowed()) { debugs(33, 5, "Body Continuation forced"); request->forcedBodyContinuation = true;