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