mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-22 07:38:52 -05:00
shrpx: Capitalize header field name in HTTP downstream connection
This commit is contained in:
parent
c45fa16f94
commit
c306402a20
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user