You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/01/22 05:19:54 UTC
[trafficserver] 02/02: clang-format
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 651d917fe61ba52abab5625886d278cd380884b2
Author: Bryan Call <bc...@apache.org>
AuthorDate: Sun Jan 21 16:52:08 2018 -0800
clang-format
(cherry picked from commit 3b3d1f20fe6628042ea51c65edda54ede972c948)
Conflicts:
proxy/http/HttpTransact.cc
---
proxy/http/HttpTransact.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 68e7501..64cdea3 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -8096,8 +8096,7 @@ HttpTransact::build_response(State *s, HTTPHdr *base_response, HTTPHdr *outgoing
// Add HSTS header (Strict-Transport-Security) if max-age is set and the request was https
// and the incoming request was remapped correctly
- if (s->orig_scheme == URL_WKSIDX_HTTPS && s->txn_conf->proxy_response_hsts_max_age >= 0 &&
- s->url_remap_success == true) {
+ if (s->orig_scheme == URL_WKSIDX_HTTPS && s->txn_conf->proxy_response_hsts_max_age >= 0 && s->url_remap_success == true) {
DebugTxn("http_hdrs", "hsts max-age=%" PRId64, s->txn_conf->proxy_response_hsts_max_age);
HttpTransactHeaders::insert_hsts_header_in_response(s, outgoing_response);
}
--
To stop receiving notification emails like this one, please contact
zwoop@apache.org.