formatting issue
This commit is contained in:
parent
46f670f8a2
commit
b72ca0289c
|
@ -983,9 +983,9 @@ int Client::connection_made() {
|
||||||
record_connect_time();
|
record_connect_time();
|
||||||
|
|
||||||
if (!config.timing_script) {
|
if (!config.timing_script) {
|
||||||
auto nreq = config.is_timing_based_mode() ?
|
auto nreq = config.is_timing_based_mode()
|
||||||
std::max(req_left, session->max_concurrent_streams()) :
|
? std::max(req_left, session->max_concurrent_streams())
|
||||||
std::min(req_left, session->max_concurrent_streams());
|
: std::min(req_left, session->max_concurrent_streams());
|
||||||
for (; nreq > 0; --nreq) {
|
for (; nreq > 0; --nreq) {
|
||||||
if (submit_request() != 0) {
|
if (submit_request() != 0) {
|
||||||
process_request_failure();
|
process_request_failure();
|
||||||
|
|
Loading…
Reference in New Issue