1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-12-21 23:28:52 -05:00

shrpx: Capitalize header field name in HTTP downstream connection

This commit is contained in:
Tatsuhiro Tsujikawa 2013-01-09 22:55:29 +09:00
parent c45fa16f94
commit c306402a20

View File

@ -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";