Merge pull request #415 from LPardue/h2load-fix-proto-negotioation

h2load: do not overwrite protocol value
This commit is contained in:
Tatsuhiro Tsujikawa 2015-10-28 21:22:52 +09:00
commit 559b0cf729
1 changed files with 0 additions and 1 deletions

View File

@ -594,7 +594,6 @@ int Client::connection_made() {
} }
#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L #endif // OPENSSL_VERSION_NUMBER >= 0x10002000L
next_proto = nullptr;
if (next_proto) { if (next_proto) {
if (util::check_h2_is_selected(next_proto, next_proto_len)) { if (util::check_h2_is_selected(next_proto, next_proto_len)) {
session = make_unique<Http2Session>(this); session = make_unique<Http2Session>(this);