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:
Daniel Stenberg 2021-01-26 14:23:36 +01:00
parent d6a37c23a3
commit 1c3def53c7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 1 additions and 6 deletions

View file

@ -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) {