From 5ec6066fdd5c0f2591783913fe895a137e326388 Mon Sep 17 00:00:00 2001 From: ayanamist Date: Fri, 25 Dec 2015 11:03:55 +0800 Subject: [PATCH] header value should not be inp_strlower http header keys are case-insensitive, but header values are case-sensitive, so it should not be changed. --- src/shrpx_config.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shrpx_config.cc b/src/shrpx_config.cc index 565d3118..e9deed04 100644 --- a/src/shrpx_config.cc +++ b/src/shrpx_config.cc @@ -291,7 +291,6 @@ std::pair parse_header(const char *optarg) { auto p = std::make_pair(std::string(optarg, colon), std::string(value, strlen(value))); util::inp_strlower(p.first); - util::inp_strlower(p.second); return p; }