lib2700: use testnum

Follow-up to 02dd471bbf #17591
Follow-up to d3594be653 #17136

Closes #18138
This commit is contained in:
Viktor Szakats 2025-08-01 17:39:35 +02:00
parent ec4c559104
commit 1d56c1401f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 1 additions and 2 deletions

View file

@ -24,7 +24,6 @@ ws://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
<setenv>
CURL_WS_FORCE_ZERO_MASK=1
LIB2700_AUTO_PONG=1
</setenv>
</client>

View file

@ -228,7 +228,7 @@ static CURLcode test_lib2700(const char *URL)
easy_setopt(curl, CURLOPT_DEBUGFUNCTION, libtest_debug_cb);
easy_setopt(curl, CURLOPT_VERBOSE, 1L);
easy_setopt(curl, CURLOPT_CONNECT_ONLY, 2L);
if(!getenv("LIB2700_AUTO_PONG"))
if(testnum != 2708)
easy_setopt(curl, CURLOPT_WS_OPTIONS, (long)CURLWS_NOAUTOPONG);
res = curl_easy_perform(curl);