Repository: trafficserver Updated Branches: refs/heads/4.2.x 4eb4d4fdf -> 2374ac9fd
TS-2564 Revert field token ordering. (cherry picked from commit 8d7d25db897269988bcc1df662cd77d5707c34c4) Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/85af3176 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/85af3176 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/85af3176 Branch: refs/heads/4.2.x Commit: 85af3176940dce72b7381465cf60db2905617e5b Parents: 4eb4d4f Author: Alan M. Carroll <[email protected]> Authored: Tue Mar 25 18:48:53 2014 -0500 Committer: Phil Sorber <[email protected]> Committed: Wed Mar 26 11:43:56 2014 -0600 ---------------------------------------------------------------------- iocore/cache/I_CacheDefs.h | 2 +- proxy/hdrs/HdrToken.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/85af3176/iocore/cache/I_CacheDefs.h ---------------------------------------------------------------------- diff --git a/iocore/cache/I_CacheDefs.h b/iocore/cache/I_CacheDefs.h index 6b25873..e41709a 100644 --- a/iocore/cache/I_CacheDefs.h +++ b/iocore/cache/I_CacheDefs.h @@ -34,7 +34,7 @@ #define CACHE_ALT_REMOVED -2 #define CACHE_DB_MAJOR_VERSION 23 -#define CACHE_DB_MINOR_VERSION 0 +#define CACHE_DB_MINOR_VERSION 1 #define CACHE_DIR_MAJOR_VERSION 18 #define CACHE_DIR_MINOR_VERSION 0 http://git-wip-us.apache.org/repos/asf/trafficserver/blob/85af3176/proxy/hdrs/HdrToken.cc ---------------------------------------------------------------------- diff --git a/proxy/hdrs/HdrToken.cc b/proxy/hdrs/HdrToken.cc index 7977b67..3868fd5 100644 --- a/proxy/hdrs/HdrToken.cc +++ b/proxy/hdrs/HdrToken.cc @@ -107,7 +107,6 @@ static const char *_hdrtoken_strs[] = { "Sender", // NNTP "Server", "Set-Cookie", - "Strict-Transport-Security", "Subject", // NNTP "Summary", // NNTP "Transfer-Encoding", @@ -189,6 +188,7 @@ static const char *_hdrtoken_strs[] = { // Header extensions "X-Forwarded-For", "TE", + "Strict-Transport-Security" }; static HdrTokenTypeBinding _hdrtoken_strs_type_initializers[] = { @@ -446,7 +446,6 @@ static const char *_hdrtoken_commonly_tokenized_strs[] = { "Sender", // NNTP "Server", "Set-Cookie", - "Strict-Transport-Security", "Subject", // NNTP "Summary", // NNTP "Transfer-Encoding", @@ -528,6 +527,7 @@ static const char *_hdrtoken_commonly_tokenized_strs[] = { // Header extensions "X-Forwarded-For", "TE", + "Strict-Transport-Security" }; /*-------------------------------------------------------------------------
