2019-11-12 00:16:04 +08:00
|
|
|
# Code defines to disable features and protocols
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_ALTSVC`
|
2020-10-26 06:08:54 +08:00
|
|
|
|
|
|
|
Disable support for Alt-Svc: HTTP headers.
|
|
|
|
|
2023-08-17 20:36:30 +08:00
|
|
|
## `CURL_DISABLE_BINDLOCAL`
|
|
|
|
|
|
|
|
Disable support for binding the local end of connections.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_COOKIES`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable support for HTTP cookies.
|
|
|
|
|
2023-07-20 22:09:04 +08:00
|
|
|
## `CURL_DISABLE_BASIC_AUTH`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
2023-07-20 22:09:04 +08:00
|
|
|
Disable support for the Basic authentication methods.
|
|
|
|
|
|
|
|
## `CURL_DISABLE_BEARER_AUTH`
|
|
|
|
|
|
|
|
Disable support for the Bearer authentication methods.
|
|
|
|
|
|
|
|
## `CURL_DISABLE_DIGEST_AUTH`
|
|
|
|
|
|
|
|
Disable support for the Digest authentication methods.
|
|
|
|
|
|
|
|
## `CURL_DISABLE_KERBEROS_AUTH`
|
|
|
|
|
|
|
|
Disable support for the Kerberos authentication methods.
|
|
|
|
|
|
|
|
## `CURL_DISABLE_NEGOTIATE_AUTH`
|
|
|
|
|
|
|
|
Disable support for the negotiate authentication methods.
|
|
|
|
|
|
|
|
## `CURL_DISABLE_AWS`
|
|
|
|
|
|
|
|
Disable **AWS-SIG4** support.
|
2019-11-12 00:16:04 +08:00
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_DICT`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the DICT protocol
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_DOH`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable DNS-over-HTTPS
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_FILE`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the FILE protocol
|
|
|
|
|
2022-11-16 00:50:22 +08:00
|
|
|
## `CURL_DISABLE_FORM_API`
|
|
|
|
|
|
|
|
Disable the form API
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_FTP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the FTP (and FTPS) protocol
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_GETOPTIONS`
|
2020-08-26 14:30:38 +08:00
|
|
|
|
|
|
|
Disable the `curl_easy_options` API calls that lets users get information
|
|
|
|
about existing options to `curl_easy_setopt`.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_GOPHER`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the GOPHER protocol.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_HEADERS_API`
|
2022-05-30 20:13:48 +08:00
|
|
|
|
|
|
|
Disable the HTTP header API.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_HSTS`
|
2021-03-08 15:30:32 +08:00
|
|
|
|
|
|
|
Disable the HTTP Strict Transport Security support.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_HTTP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the HTTP(S) protocols. Note that this then also disable HTTP proxy
|
|
|
|
support.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_HTTP_AUTH`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
2019-12-06 19:56:14 +08:00
|
|
|
Disable support for all HTTP authentication methods.
|
2019-11-12 00:16:04 +08:00
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_IMAP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the IMAP(S) protocols.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_LDAP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the LDAP(S) protocols.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_LDAPS`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the LDAPS protocol.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_LIBCURL_OPTION`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the --libcurl option from the curl tool.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_MIME`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable MIME support.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_MQTT`
|
2020-08-31 15:45:09 +08:00
|
|
|
|
|
|
|
Disable MQTT support.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_NETRC`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the netrc parser.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_NTLM`
|
2021-08-25 02:27:39 +08:00
|
|
|
|
|
|
|
Disable support for NTLM.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the auto load config support in the OpenSSL backend.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_PARSEDATE`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable date parsing
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_POP3`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
2021-08-25 02:27:39 +08:00
|
|
|
Disable the POP3 protocol
|
2019-11-12 00:16:04 +08:00
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_PROGRESS_METER`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the built-in progress meter
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_PROXY`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable support for proxies
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_RTSP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the RTSP protocol.
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_SHUFFLE_DNS`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the shuffle DNS feature
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_SMB`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the SMB(S) protocols
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_SMTP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the SMTP(S) protocols
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_SOCKETPAIR`
|
2020-08-14 21:45:08 +08:00
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
Disable the use of `socketpair()` internally to allow waking up and canceling
|
|
|
|
`curl_multi_poll()`.
|
2020-08-14 21:45:08 +08:00
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_TELNET`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the TELNET protocol
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_TFTP`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable the TFTP protocol
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
## `CURL_DISABLE_VERBOSE_STRINGS`
|
2019-11-12 00:16:04 +08:00
|
|
|
|
|
|
|
Disable verbose strings and error messages.
|