Merge pull request #415 from LPardue/h2load-fix-proto-negotioation
h2load: do not overwrite protocol value
This commit is contained in:
commit
559b0cf729
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue