mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 10:38:53 +08:00
Merge branch 'kazuho-kazuho/issues/177'
This commit is contained in:
@@ -807,8 +807,10 @@ int HttpClient::on_upgrade_connect() {
|
|||||||
if (i < initial_headerslen) {
|
if (i < initial_headerslen) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (kv.name.size() != 0 && kv.name[0] != ':') {
|
||||||
headers.emplace_back(kv.name, kv.value, kv.no_index);
|
headers.emplace_back(kv.name, kv.value, kv.no_index);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
req += " HTTP/1.1\r\n";
|
req += " HTTP/1.1\r\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user