nghttpx: Remove redundant check
This commit is contained in:
parent
a4e27d766b
commit
216f4dad83
|
@ -891,11 +891,6 @@ Http2Session *ClientHandler::select_http2_session(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (addr.http2_extra_freelist.size() == 0 &&
|
|
||||||
addr.connect_blocker->blocked()) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (selected_addr == nullptr || load_lighter(&addr, selected_addr)) {
|
if (selected_addr == nullptr || load_lighter(&addr, selected_addr)) {
|
||||||
selected_addr = &addr;
|
selected_addr = &addr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue