]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test: fix CURLOPT_TCP_KEEPCNT typo
authorAndy Pan <i@andypan.me>
Wed, 12 Jun 2024 13:23:27 +0000 (21:23 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jun 2024 14:08:05 +0000 (16:08 +0200)
Follow up to b77d627d242

Closes #13931

tests/http/clients/upload-pausing.c

index 24e4701bd2084acf9522345fe1a93de8cbafbca6..f5b1b401465023aba16804aff753bef66e26c893 100644 (file)
@@ -241,7 +241,7 @@ int main(int argc, char *argv[])
   curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L);
   curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 1L);
   curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 1L);
-  curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 1L);
+  curl_easy_setopt(curl, CURLOPT_TCP_KEEPCNT, 1L);
 
   /* Enable uploading. */
   curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");