diff --git a/tests/data/test2708 b/tests/data/test2708 index fd0ee0707f..0dbd873520 100644 --- a/tests/data/test2708 +++ b/tests/data/test2708 @@ -24,7 +24,6 @@ ws://%HOSTIP:%HTTPPORT/%TESTNUMBER CURL_WS_FORCE_ZERO_MASK=1 -LIB2700_AUTO_PONG=1 diff --git a/tests/libtest/lib2700.c b/tests/libtest/lib2700.c index c0d2fdb642..d8dbbbb93a 100644 --- a/tests/libtest/lib2700.c +++ b/tests/libtest/lib2700.c @@ -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);