trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [trafficserver] branch master updated: clang-format
Date Tue, 09 May 2017 21:44:27 GMT
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  cff9bcb   clang-format
cff9bcb is described below

commit cff9bcb62efe441e39cbff4acd20379e7ef58038
Author: Phil Sorber <sorber@apache.org>
AuthorDate: Tue May 9 15:43:48 2017 -0600

    clang-format
---
 proxy/hdrs/HdrToken.cc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/proxy/hdrs/HdrToken.cc b/proxy/hdrs/HdrToken.cc
index a1ba721..15bec01 100644
--- a/proxy/hdrs/HdrToken.cc
+++ b/proxy/hdrs/HdrToken.cc
@@ -104,8 +104,9 @@ static const char *_hdrtoken_strs[] = {
   "rtsp", "mmsu", "mmst", "mms", "wss", "ws",
 
   // HTTP methods
-  // replaced ICP with DNT(DO NOT TRACK is a placeholder and not a method) as it breaks cache
compatibility as wksid is stored in cache.
-  "CONNECT", "DELETE", "GET", "POST", "HEAD", "DNT" , "OPTIONS", "PURGE", "PUT", "TRACE",
"PUSH",
+  // replaced ICP with DNT(DO NOT TRACK is a placeholder and not a method) as it breaks cache
compatibility as wksid is stored in
+  // cache.
+  "CONNECT", "DELETE", "GET", "POST", "HEAD", "DNT", "OPTIONS", "PURGE", "PUT", "TRACE",
"PUSH",
 
   // Header extensions
   "X-ID", "X-Forwarded-For", "TE", "Strict-Transport-Security", "100-continue",
@@ -350,7 +351,8 @@ static const char *_hdrtoken_commonly_tokenized_strs[] = {
   "rtsp", "mmsu", "mmst", "mms", "wss", "ws",
 
   // HTTP methods
-  // replaced ICP with DNT(DO NOT TRACK is a placeholder and not a method) as it breaks cache
compatibility as wksid is stored in cache.
+  // replaced ICP with DNT(DO NOT TRACK is a placeholder and not a method) as it breaks cache
compatibility as wksid is stored in
+  // cache.
   "CONNECT", "DELETE", "GET", "POST", "HEAD", "DNT", "OPTIONS", "PURGE", "PUT", "TRACE",
"PUSH",
 
   // Header extensions

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message