1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

core: add options "dns_servers" and "accepttimeout_ms" for curl (libcurl >= 7.24.0)

This commit is contained in:
Sebastien Helleu
2012-02-09 09:48:57 +01:00
parent 4a1f0ef5cc
commit 96ecfdd9d1
5 changed files with 21 additions and 0 deletions
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
@@ -228,6 +228,10 @@
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
+5
View File
@@ -728,6 +728,11 @@ struct t_url_option url_options[] =
#if LIBCURL_VERSION_NUM >= 0x071503
/* libcurl >= 7.21.3 */
/*URL_DEF_OPTION(RESOLVE, LIST, NULL),*/
#endif
#if LIBCURL_VERSION_NUM >= 0x071800
/* libcurl >= 7.24.0 */
URL_DEF_OPTION(DNS_SERVERS, STRING, NULL),
URL_DEF_OPTION(ACCEPTTIMEOUT_MS, LONG, NULL),
#endif
/*
* SSL and security options