Commit 6b7e6166 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Merge branch 'kazuho-kazuho/issues/177'

parents bff5a28d 2a4f347d
...@@ -807,7 +807,9 @@ int HttpClient::on_upgrade_connect() { ...@@ -807,7 +807,9 @@ int HttpClient::on_upgrade_connect() {
if (i < initial_headerslen) { if (i < initial_headerslen) {
continue; continue;
} }
headers.emplace_back(kv.name, kv.value, kv.no_index); if (kv.name.size() != 0 && kv.name[0] != ':') {
headers.emplace_back(kv.name, kv.value, kv.no_index);
}
} }
req += " HTTP/1.1\r\n"; req += " HTTP/1.1\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