Commit c306402a authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

shrpx: Capitalize header field name in HTTP downstream connection

parent c45fa16f
......@@ -142,6 +142,7 @@ int HttpDownstreamConnection::push_request_headers()
continue;
}
hdrs += (*i).first;
http::capitalize(hdrs, hdrs.size()-(*i).first.size());
hdrs += ": ";
hdrs += (*i).second;
hdrs += "\r\n";
......
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