mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:47:23 +03:00
ngtcp2: make curl 1ms faster
Pass 0 for an already expired timer. Closes #8678
This commit is contained in:
parent
1b1443a8ed
commit
913b80d5fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue