ngtcp2: make curl 1ms faster
Pass 0 for an already expired timer. Closes #8678
This commit is contained in:
parent
1b1443a8ed
commit
913b80d5fd
@ -1806,7 +1806,7 @@ static CURLcode ng_flush_egress(struct Curl_easy *data,
|
||||
expiry = ngtcp2_conn_get_expiry(qs->qconn);
|
||||
if(expiry != UINT64_MAX) {
|
||||
if(expiry <= ts) {
|
||||
timeout = NGTCP2_MILLISECONDS;
|
||||
timeout = 0;
|
||||
}
|
||||
else {
|
||||
timeout = expiry - ts;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user