shrpx: Lowercase x-forwarded-proto

This commit is contained in:
Tatsuhiro Tsujikawa 2013-02-01 23:36:08 +09:00
parent ae0533334c
commit e3401b0159
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ int HttpDownstreamConnection::push_request_headers()
if(util::strifind((*i).second.c_str(), "upgrade")) {
connection_upgrade = true;
}
} else if(util::strieq((*i).first.c_str(), "X-Forwarded-Proto") ||
} else if(util::strieq((*i).first.c_str(), "x-forwarded-proto") ||
util::strieq((*i).first.c_str(), "keep-alive") ||
util::strieq((*i).first.c_str(), "proxy-connection")) {
continue;