From 479858e15e4ec5d54d8b5bcf2f34c3dde8f0d60d Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Wed, 12 Jun 2024 21:23:27 +0800 Subject: [PATCH] test: fix CURLOPT_TCP_KEEPCNT typo Follow up to b77d627d242 Closes #13931 --- tests/http/clients/upload-pausing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/http/clients/upload-pausing.c b/tests/http/clients/upload-pausing.c index 24e4701bd2..f5b1b40146 100644 --- a/tests/http/clients/upload-pausing.c +++ b/tests/http/clients/upload-pausing.c @@ -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");