From 690df020dc670f140f1a8f3f2c0d87dfcaa16fb0 Mon Sep 17 00:00:00 2001 From: stephanie sappho lenzo Date: Tue, 5 Dec 2023 13:22:37 -0500 Subject: update self test to up to date free ftps server - test #7 is STILL broken, sorry --- pawn/scripting/curl_self_test.sp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pawn/scripting/curl_self_test.sp b/pawn/scripting/curl_self_test.sp index cf7bb43..c3b3e24 100644 --- a/pawn/scripting/curl_self_test.sp +++ b/pawn/scripting/curl_self_test.sp @@ -81,8 +81,8 @@ public Plugin:myinfo = #define TEST_7_TARGET_URL "http://www.image-upload.net/images" /* http://www.secureftp-test.com/ */ -#define TEST_8_FTPS_USERPW "test:test" -#define TEST_8_FTPS_URL "ftps://ftp.secureftp-test.com:990/bookstore.xml" +#define TEST_8_FTPS_USERPW "demo:password" +#define TEST_8_FTPS_URL "ftps://test.rebex.net" #define TEST_8_FILE "test_8_bookstore.xml" @@ -92,8 +92,9 @@ new CURL_Default_opt[][2] = { {_:CURLOPT_NOSIGNAL,1}, #endif {_:CURLOPT_NOPROGRESS,1}, - {_:CURLOPT_TIMEOUT,30}, - {_:CURLOPT_CONNECTTIMEOUT,60}, + {_:CURLOPT_TIMEOUT,5}, + {_:CURLOPT_CONNECTTIMEOUT,5}, + {_:CURLOPT_DNS_CACHE_TIMEOUT,5}, {_:CURLOPT_VERBOSE,0} }; -- cgit v1.2.3