mirror of
https://github.com/curl/curl.git
synced 2026-08-02 17:10:29 +03:00
urldata: remove duplicate 'upkeep_interval_ms' from connectdata
... and rely only on the value already set in Curl_easy. Closes #6534
This commit is contained in:
parent
d6a37c23a3
commit
1c3def53c7
3 changed files with 1 additions and 6 deletions
|
|
@ -229,7 +229,7 @@ static unsigned int http2_conncheck(struct Curl_easy *data,
|
|||
struct curltime now = Curl_now();
|
||||
timediff_t elapsed = Curl_timediff(now, conn->keepalive);
|
||||
|
||||
if(elapsed > conn->upkeep_interval_ms) {
|
||||
if(elapsed > data->set.upkeep_interval_ms) {
|
||||
/* Perform an HTTP/2 PING */
|
||||
rc = nghttp2_submit_ping(c->h2, 0, ZERO_NULL);
|
||||
if(!rc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue