h2load: do not overwrite protocol value
This commit is contained in:
parent
1aa8e8cd9f
commit
76df93fdf4
|
@ -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