Commit e3401b01 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

shrpx: Lowercase x-forwarded-proto

parent ae053333
...@@ -128,7 +128,7 @@ int HttpDownstreamConnection::push_request_headers() ...@@ -128,7 +128,7 @@ int HttpDownstreamConnection::push_request_headers()
if(util::strifind((*i).second.c_str(), "upgrade")) { if(util::strifind((*i).second.c_str(), "upgrade")) {
connection_upgrade = true; 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(), "keep-alive") ||
util::strieq((*i).first.c_str(), "proxy-connection")) { util::strieq((*i).first.c_str(), "proxy-connection")) {
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment