]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/http.cc
Add connections_encrypted ACL
[thirdparty/squid.git] / src / http.cc
index 0e62471be0d07dbb92460c3ef2159bc86e4196a8..5b39187bf4af07a08212fa1797f77b8a88dcc127 100644 (file)
@@ -769,6 +769,8 @@ HttpStateData::processReplyHeader()
     // done with Parser, now process using the HttpReply
     hp = NULL;
 
+    newrep->sources |= request->url.getScheme() == AnyP::PROTO_HTTPS ? HttpMsg::srcHttps : HttpMsg::srcHttp;
+
     newrep->removeStaleWarnings();
 
     if (newrep->sline.protocol == AnyP::PROTO_HTTP && newrep->sline.status() >= 100 && newrep->sline.status() < 200) {