diff options
| author | stephanie sappho lenzo <sappho@sappho.io> | 2023-12-05 13:22:37 -0500 | 
|---|---|---|
| committer | stephanie sappho lenzo <sappho@sappho.io> | 2023-12-05 13:22:37 -0500 | 
| commit | 690df020dc670f140f1a8f3f2c0d87dfcaa16fb0 (patch) | |
| tree | 160062648d17f5675fbfaeb8e0ead9f141fb6f36 | |
| parent | e83da478e743e541962f7c8695c2744de9f2efaa (diff) | |
update self test to up to date free ftps server - test #7 is STILL broken, sorry
| -rw-r--r-- | pawn/scripting/curl_self_test.sp | 9 | 
1 files 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}
  };
 | 
