113498266Sopenharmony_ci# Code defines to disable features and protocols 213498266Sopenharmony_ci 313498266Sopenharmony_ci## `CURL_DISABLE_ALTSVC` 413498266Sopenharmony_ci 513498266Sopenharmony_ciDisable support for Alt-Svc: HTTP headers. 613498266Sopenharmony_ci 713498266Sopenharmony_ci## `CURL_DISABLE_BINDLOCAL` 813498266Sopenharmony_ci 913498266Sopenharmony_ciDisable support for binding the local end of connections. 1013498266Sopenharmony_ci 1113498266Sopenharmony_ci## `CURL_DISABLE_COOKIES` 1213498266Sopenharmony_ci 1313498266Sopenharmony_ciDisable support for HTTP cookies. 1413498266Sopenharmony_ci 1513498266Sopenharmony_ci## `CURL_DISABLE_BASIC_AUTH` 1613498266Sopenharmony_ci 1713498266Sopenharmony_ciDisable support for the Basic authentication methods. 1813498266Sopenharmony_ci 1913498266Sopenharmony_ci## `CURL_DISABLE_BEARER_AUTH` 2013498266Sopenharmony_ci 2113498266Sopenharmony_ciDisable support for the Bearer authentication methods. 2213498266Sopenharmony_ci 2313498266Sopenharmony_ci## `CURL_DISABLE_DIGEST_AUTH` 2413498266Sopenharmony_ci 2513498266Sopenharmony_ciDisable support for the Digest authentication methods. 2613498266Sopenharmony_ci 2713498266Sopenharmony_ci## `CURL_DISABLE_KERBEROS_AUTH` 2813498266Sopenharmony_ci 2913498266Sopenharmony_ciDisable support for the Kerberos authentication methods. 3013498266Sopenharmony_ci 3113498266Sopenharmony_ci## `CURL_DISABLE_NEGOTIATE_AUTH` 3213498266Sopenharmony_ci 3313498266Sopenharmony_ciDisable support for the negotiate authentication methods. 3413498266Sopenharmony_ci 3513498266Sopenharmony_ci## `CURL_DISABLE_AWS` 3613498266Sopenharmony_ci 3713498266Sopenharmony_ciDisable **AWS-SIG4** support. 3813498266Sopenharmony_ci 3913498266Sopenharmony_ci## `CURL_DISABLE_DICT` 4013498266Sopenharmony_ci 4113498266Sopenharmony_ciDisable the DICT protocol 4213498266Sopenharmony_ci 4313498266Sopenharmony_ci## `CURL_DISABLE_DOH` 4413498266Sopenharmony_ci 4513498266Sopenharmony_ciDisable DNS-over-HTTPS 4613498266Sopenharmony_ci 4713498266Sopenharmony_ci## `CURL_DISABLE_FILE` 4813498266Sopenharmony_ci 4913498266Sopenharmony_ciDisable the FILE protocol 5013498266Sopenharmony_ci 5113498266Sopenharmony_ci## `CURL_DISABLE_FORM_API` 5213498266Sopenharmony_ci 5313498266Sopenharmony_ciDisable the form API 5413498266Sopenharmony_ci 5513498266Sopenharmony_ci## `CURL_DISABLE_FTP` 5613498266Sopenharmony_ci 5713498266Sopenharmony_ciDisable the FTP (and FTPS) protocol 5813498266Sopenharmony_ci 5913498266Sopenharmony_ci## `CURL_DISABLE_GETOPTIONS` 6013498266Sopenharmony_ci 6113498266Sopenharmony_ciDisable the `curl_easy_options` API calls that lets users get information 6213498266Sopenharmony_ciabout existing options to `curl_easy_setopt`. 6313498266Sopenharmony_ci 6413498266Sopenharmony_ci## `CURL_DISABLE_GOPHER` 6513498266Sopenharmony_ci 6613498266Sopenharmony_ciDisable the GOPHER protocol. 6713498266Sopenharmony_ci 6813498266Sopenharmony_ci## `CURL_DISABLE_HEADERS_API` 6913498266Sopenharmony_ci 7013498266Sopenharmony_ciDisable the HTTP header API. 7113498266Sopenharmony_ci 7213498266Sopenharmony_ci## `CURL_DISABLE_HSTS` 7313498266Sopenharmony_ci 7413498266Sopenharmony_ciDisable the HTTP Strict Transport Security support. 7513498266Sopenharmony_ci 7613498266Sopenharmony_ci## `CURL_DISABLE_HTTP` 7713498266Sopenharmony_ci 7813498266Sopenharmony_ciDisable the HTTP(S) protocols. Note that this then also disable HTTP proxy 7913498266Sopenharmony_cisupport. 8013498266Sopenharmony_ci 8113498266Sopenharmony_ci## `CURL_DISABLE_HTTP_AUTH` 8213498266Sopenharmony_ci 8313498266Sopenharmony_ciDisable support for all HTTP authentication methods. 8413498266Sopenharmony_ci 8513498266Sopenharmony_ci## `CURL_DISABLE_IMAP` 8613498266Sopenharmony_ci 8713498266Sopenharmony_ciDisable the IMAP(S) protocols. 8813498266Sopenharmony_ci 8913498266Sopenharmony_ci## `CURL_DISABLE_LDAP` 9013498266Sopenharmony_ci 9113498266Sopenharmony_ciDisable the LDAP(S) protocols. 9213498266Sopenharmony_ci 9313498266Sopenharmony_ci## `CURL_DISABLE_LDAPS` 9413498266Sopenharmony_ci 9513498266Sopenharmony_ciDisable the LDAPS protocol. 9613498266Sopenharmony_ci 9713498266Sopenharmony_ci## `CURL_DISABLE_LIBCURL_OPTION` 9813498266Sopenharmony_ci 9913498266Sopenharmony_ciDisable the --libcurl option from the curl tool. 10013498266Sopenharmony_ci 10113498266Sopenharmony_ci## `CURL_DISABLE_MIME` 10213498266Sopenharmony_ci 10313498266Sopenharmony_ciDisable MIME support. 10413498266Sopenharmony_ci 10513498266Sopenharmony_ci## `CURL_DISABLE_MQTT` 10613498266Sopenharmony_ci 10713498266Sopenharmony_ciDisable MQTT support. 10813498266Sopenharmony_ci 10913498266Sopenharmony_ci## `CURL_DISABLE_NETRC` 11013498266Sopenharmony_ci 11113498266Sopenharmony_ciDisable the netrc parser. 11213498266Sopenharmony_ci 11313498266Sopenharmony_ci## `CURL_DISABLE_NTLM` 11413498266Sopenharmony_ci 11513498266Sopenharmony_ciDisable support for NTLM. 11613498266Sopenharmony_ci 11713498266Sopenharmony_ci## `CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG` 11813498266Sopenharmony_ci 11913498266Sopenharmony_ciDisable the auto load config support in the OpenSSL backend. 12013498266Sopenharmony_ci 12113498266Sopenharmony_ci## `CURL_DISABLE_PARSEDATE` 12213498266Sopenharmony_ci 12313498266Sopenharmony_ciDisable date parsing 12413498266Sopenharmony_ci 12513498266Sopenharmony_ci## `CURL_DISABLE_POP3` 12613498266Sopenharmony_ci 12713498266Sopenharmony_ciDisable the POP3 protocol 12813498266Sopenharmony_ci 12913498266Sopenharmony_ci## `CURL_DISABLE_PROGRESS_METER` 13013498266Sopenharmony_ci 13113498266Sopenharmony_ciDisable the built-in progress meter 13213498266Sopenharmony_ci 13313498266Sopenharmony_ci## `CURL_DISABLE_PROXY` 13413498266Sopenharmony_ci 13513498266Sopenharmony_ciDisable support for proxies 13613498266Sopenharmony_ci 13713498266Sopenharmony_ci## `CURL_DISABLE_RTSP` 13813498266Sopenharmony_ci 13913498266Sopenharmony_ciDisable the RTSP protocol. 14013498266Sopenharmony_ci 14113498266Sopenharmony_ci## `CURL_DISABLE_SHUFFLE_DNS` 14213498266Sopenharmony_ci 14313498266Sopenharmony_ciDisable the shuffle DNS feature 14413498266Sopenharmony_ci 14513498266Sopenharmony_ci## `CURL_DISABLE_SMB` 14613498266Sopenharmony_ci 14713498266Sopenharmony_ciDisable the SMB(S) protocols 14813498266Sopenharmony_ci 14913498266Sopenharmony_ci## `CURL_DISABLE_SMTP` 15013498266Sopenharmony_ci 15113498266Sopenharmony_ciDisable the SMTP(S) protocols 15213498266Sopenharmony_ci 15313498266Sopenharmony_ci## `CURL_DISABLE_SOCKETPAIR` 15413498266Sopenharmony_ci 15513498266Sopenharmony_ciDisable the use of `socketpair()` internally to allow waking up and canceling 15613498266Sopenharmony_ci`curl_multi_poll()`. 15713498266Sopenharmony_ci 15813498266Sopenharmony_ci## `CURL_DISABLE_TELNET` 15913498266Sopenharmony_ci 16013498266Sopenharmony_ciDisable the TELNET protocol 16113498266Sopenharmony_ci 16213498266Sopenharmony_ci## `CURL_DISABLE_TFTP` 16313498266Sopenharmony_ci 16413498266Sopenharmony_ciDisable the TFTP protocol 16513498266Sopenharmony_ci 16613498266Sopenharmony_ci## `CURL_DISABLE_VERBOSE_STRINGS` 16713498266Sopenharmony_ci 16813498266Sopenharmony_ciDisable verbose strings and error messages. 169