Przeglądaj źródła

Made more curl options available to scripts

mingodad 9 lat temu
rodzic
commit
b45faebb79
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      SquiLu-ext/sq_libcurl.cpp

+ 6 - 0
SquiLu-ext/sq_libcurl.cpp

@@ -654,6 +654,10 @@ static KeyIntType EasyCurl_constants[] = {
 	MK_CONST(CURLPROTO_ALL),
 	MK_CONST(CURLSSH_AUTH_HOST),
 	MK_CONST(CURLPROTO_HTTP),
+	MK_CONST(CURLPROTO_HTTPS),
+	MK_CONST(CURLOPT_SSL_VERIFYPEER),
+	MK_CONST(CURLOPT_SSL_VERIFYHOST),
+	MK_CONST(CURLOPT_ACCEPT_ENCODING),
 	MK_CONST(CURLAUTH_BASIC),
 	MK_CONST(CURLPROTO_IMAPS),
 	MK_CONST(CURLPROTO_RTMPTS),
@@ -685,6 +689,8 @@ static KeyIntType EasyCurl_constants[] = {
 	MK_CONST2(CURLAUTH_ONLY),
 	MK_CONST2(CURLPROTO_TELNET),
 	MK_CONST2(CURLAUTH_ANY),
+	MK_CONST2(CURLOPT_VERBOSE),
+
 	MK_CONST(CURLPROTO_FTPS),
 	MK_CONST(CURLPROTO_IMAP),
 	MK_CONST(CURLPROTO_RTMPE),