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: SQUID_4_1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e02e5fd0acd931c5f4903d52900e7e376b674241;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 58a15d72f4..c23a934f9f 100644 --- a/src/servers/Http1Server.cc +++ b/src/servers/Http1Server.cc @@ -249,6 +249,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;