Name
easy:UnsetOpt -- unset option for a curl easy handle
Synopsis
easy:UnsetOpt(option)
Function
This method can be used to unset an option on a curl easy handle, i.e. the option is reset to its default value.

The following option types are currently supported:

#CURLOPT_ABSTRACT_UNIX_SOCKET
Path to an abstract Unix domain socket. See easy:UnsetOpt_Abstract_Unix_Socket for details.
#CURLOPT_ACCEPT_ENCODING
Accept-Encoding and automatic decompressing data. See easy:UnsetOpt_Accept_Encoding for details.
#CURLOPT_ACCEPTTIMEOUT_MS
Timeout for waiting for the server's connect back to be accepted. See easy:UnsetOpt_AcceptTimeout_MS for details.
#CURLOPT_ADDRESS_SCOPE
IPv6 scope for local addresses. See easy:UnsetOpt_Address_Scope for details.
#CURLOPT_APPEND
Append to remote file. See easy:UnsetOpt_Append for details.
#CURLOPT_AUTOREFERER
Automatically set Referer: header. See easy:UnsetOpt_AutoReferer for details.
#CURLOPT_BUFFERSIZE
Ask for alternate buffer size. See easy:UnsetOpt_BufferSize for details.
#CURLOPT_CAINFO
CA cert bundle. See easy:UnsetOpt_CAInfo for details.
#CURLOPT_CAPATH
Path to CA cert bundle. See easy:UnsetOpt_CAPath for details.
#CURLOPT_CERTINFO
Extract certificate info. See easy:UnsetOpt_CertInfo for details.
#CURLOPT_CHUNK_BGN_FUNCTION
Callback for wildcard download start of chunk. See easy:UnsetOpt_Chunk_BGN_Function for details.
#CURLOPT_CHUNK_END_FUNCTION
Callback for wildcard download end of chunk. See easy:UnsetOpt_Chunk_End_Function for details.
#CURLOPT_CONNECT_ONLY
Only connect, nothing else. See easy:UnsetOpt_Connect_Only for details.
#CURLOPT_CONNECT_TO
Connect to a specific host and port. See easy:UnsetOpt_Connect_To for details.
#CURLOPT_CONNECTTIMEOUT
Timeout for the connection phase. See easy:UnsetOpt_ConnectTimeout for details.
#CURLOPT_CONNECTTIMEOUT_MS
Millisecond timeout for the connection phase. See easy:UnsetOpt_ConnectTimeout_MS for details.
#CURLOPT_COOKIE
Cookie(s) to send. See easy:UnsetOpt_Cookie for details.
#CURLOPT_COOKIEFILE
File to read cookies from. See easy:UnsetOpt_CookieFile for details.
#CURLOPT_COOKIEJAR
File to write cookies to. See easy:UnsetOpt_CookieJar for details.
#CURLOPT_COOKIELIST
Add or control cookies. See easy:UnsetOpt_CookieList for details.
#CURLOPT_COOKIESESSION
Start a new cookie session. See easy:UnsetOpt_CookieSession for details.
#CURLOPT_CRLF
Convert newlines. See easy:UnsetOpt_CRLF for details.
#CURLOPT_CRLFILE
Certificate Revocation List. See easy:UnsetOpt_CRLFile for details.
#CURLOPT_CUSTOMREQUEST
Custom request/method. See easy:UnsetOpt_CustomRequest for details.
#CURLOPT_DEBUGFUNCTION
Callback for debug information. See easy:UnsetOpt_DebugFunction for details.
#CURLOPT_DEFAULT_PROTOCOL
Default protocol. See easy:UnsetOpt_Default_Protocol for details.
#CURLOPT_DIRLISTONLY
List only. See easy:UnsetOpt_DirListOnly for details.
#CURLOPT_DNS_CACHE_TIMEOUT
Timeout for DNS cache. See easy:UnsetOpt_DNS_Cache_Timeout for details.
#CURLOPT_DNS_INTERFACE
Bind name resolves to this interface. See easy:UnsetOpt_DNS_Interface for details.
#CURLOPT_DNS_LOCAL_IP4
Bind name resolves to this IP4 address. See easy:UnsetOpt_DNS_Local_IP4 for details.
#CURLOPT_DNS_LOCAL_IP6
Bind name resolves to this IP6 address. See easy:UnsetOpt_DNS_Local_IP6 for details.
#CURLOPT_DNS_SERVERS
Preferred DNS servers. See easy:UnsetOpt_DNS_Servers for details.
#CURLOPT_DNS_USE_GLOBAL_CACHE
OBSOLETE Enable global DNS cache. See easy:UnsetOpt_DNS_Use_Global_Cache for details.
#CURLOPT_EGDSOCKET
Identify EGD socket for entropy. See easy:UnsetOpt_EGDSocket for details.
#CURLOPT_EXPECT_100_TIMEOUT_MS
100-continue timeout. See easy:UnsetOpt_Expect_100_Timeout_MS for details.
#CURLOPT_FAILONERROR
Fail on HTTP 4xx errors. See easy:UnsetOpt_FailOnError for details.
#CURLOPT_FILETIME
Request file modification date and time. See easy:UnsetOpt_FileTime for details.
#CURLOPT_FNMATCH_FUNCTION
Callback for wildcard matching. See easy:UnsetOpt_FNMatch_Function for details.
#CURLOPT_FOLLOWLOCATION
Follow HTTP redirects. See easy:UnsetOpt_FollowLocation for details.
#CURLOPT_FORBID_REUSE
Prevent subsequent connections from re-using this. See easy:UnsetOpt_Forbid_Reuse for details.
#CURLOPT_FRESH_CONNECT
Use a new connection. See easy:UnsetOpt_Fresh_Connect for details.
#CURLOPT_FTP_ACCOUNT
Send ACCT command. See easy:UnsetOpt_FTP_Account for details.
#CURLOPT_FTP_ALTERNATIVE_TO_USER
Alternative to USER. See easy:UnsetOpt_FTP_Alternative_To_User for details.
#CURLOPT_FTP_CREATE_MISSING_DIRS
Create missing directories on the remote server. See easy:UnsetOpt_FTP_Create_Missing_Dirs for details.
#CURLOPT_FTP_FILEMETHOD
Specify how to reach files. See easy:UnsetOpt_FTP_FileMethod for details.
#CURLOPT_FTP_RESPONSE_TIMEOUT
Timeout for FTP responses. See easy:UnsetOpt_FTP_Response_Timeout for details.
#CURLOPT_FTP_SKIP_PASV_IP
Ignore the IP address in the PASV response. See easy:UnsetOpt_FTP_Skip_PASV_IP for details.
#CURLOPT_FTP_SSL_CCC
Back to non-TLS again after authentication. See easy:UnsetOpt_FTP_SSL_CCC for details.
#CURLOPT_FTP_USE_EPRT
Use EPTR. See easy:UnsetOpt_FTP_Use_Eprt for details.
#CURLOPT_FTP_USE_EPSV
Use EPSV. See easy:UnsetOpt_FTP_Use_Epsv for details.
#CURLOPT_FTP_USE_PRET
Use PRET. See easy:UnsetOpt_FTP_Use_Pret for details.
#CURLOPT_FTPPORT
Use active FTP. See easy:UnsetOpt_FTPPort for details.
#CURLOPT_FTPSSLAUTH
Control how to do TLS. See easy:UnsetOpt_FTPSSLAuth for details.
#CURLOPT_GSSAPI_DELEGATION
Disable GSS-API delegation. See easy:UnsetOpt_GSSAPI_Delegation for details.
#CURLOPT_HEADER
Include the header in the body output. See easy:UnsetOpt_Header for details.
#CURLOPT_HEADERFUNCTION
Callback for writing received headers. See easy:UnsetOpt_HeaderFunction for details.
#CURLOPT_HEADEROPT
Control custom headers. See easy:UnsetOpt_HeaderOpt for details.
#CURLOPT_HTTP200ALIASES
Alternative versions of 200 OK. See easy:UnsetOpt_HTTP200Aliases for details.
#CURLOPT_HTTP_CONTENT_DECODING
Disable Content decoding. See easy:UnsetOpt_HTTP_Content_Decoding for details.
#CURLOPT_HTTP_TRANSFER_DECODING
Disable Transfer decoding. See easy:UnsetOpt_HTTP_Transfer_Decoding for details.
#CURLOPT_HTTP_VERSION
HTTP version to use. See easy:UnsetOpt_HTTP_Version for details.
#CURLOPT_HTTPAUTH
HTTP server authentication methods. See easy:UnsetOpt_HTTPAuth for details.
#CURLOPT_HTTPGET
Do an HTTP GET request. See easy:UnsetOpt_HTTPGet for details.
#CURLOPT_HTTPHEADER
Custom HTTP headers. See easy:UnsetOpt_HTTPHeader for details.
#CURLOPT_HTTPPOST
Multipart formpost HTTP POST. See easy:UnsetOpt_HTTPPost for details.
#CURLOPT_HTTPPROXYTUNNEL
Tunnel through the HTTP proxy. See easy:UnsetOpt_HTTPProxyTunnel for details.
#CURLOPT_IGNORE_CONTENT_LENGTH
Ignore Content-Length. See easy:UnsetOpt_Ignore_Content_Length for details.
#CURLOPT_INFILESIZE
Size of file to send. See easy:UnsetOpt_InFileSize for details.
#CURLOPT_INFILESIZE_LARGE
Size of file to send. See easy:UnsetOpt_InFileSize_Large for details.
#CURLOPT_INTERFACE
Bind connection locally to this. See easy:UnsetOpt_Interface for details.
#CURLOPT_IPRESOLVE
IP version to resolve to. See easy:UnsetOpt_IPResolve for details.
#CURLOPT_ISSUERCERT
Issuer certificate. See easy:UnsetOpt_IssuerCert for details.
#CURLOPT_KEEP_SENDING_ON_ERROR
Keep sending on HTTP >= 300 errors. See easy:UnsetOpt_Keep_Sending_On_Error for details.
#CURLOPT_KEYPASSWD
Client key password. See easy:UnsetOpt_KeyPasswd for details.
#CURLOPT_KRBLEVEL
Kerberos security level. See easy:UnsetOpt_KRBLevel for details.
#CURLOPT_LOCALPORT
Bind connection locally to this port. See easy:UnsetOpt_LocalPort for details.
#CURLOPT_LOCALPORTRANGE
Bind connection locally to port range. See easy:UnsetOpt_LocalPortRange for details.
#CURLOPT_LOGIN_OPTIONS
Login options. See easy:UnsetOpt_Login_Options for details.
#CURLOPT_LOW_SPEED_LIMIT
Low speed limit to abort transfer. See easy:UnsetOpt_Low_Speed_Limit for details.
#CURLOPT_LOW_SPEED_TIME
Time to be below the speed to trigger low speed abort. See easy:UnsetOpt_Low_Speed_Time for details.
#CURLOPT_MAIL_AUTH
Authentication address. See easy:UnsetOpt_Mail_Auth for details.
#CURLOPT_MAIL_FROM
Address of the sender. See easy:UnsetOpt_Mail_From for details.
#CURLOPT_MAIL_RCPT
Address of the recipients. See easy:UnsetOpt_Mail_RCPT for details.
#CURLOPT_MAX_RECV_SPEED_LARGE
Cap the download speed to this. See easy:UnsetOpt_Max_Recv_Speed_Large for details.
#CURLOPT_MAX_SEND_SPEED_LARGE
Cap the upload speed to this. See easy:UnsetOpt_Max_Send_Speed_Large for details.
#CURLOPT_MAXCONNECTS
Maximum number of connections in the connection pool. See easy:UnsetOpt_MaxConnects for details.
#CURLOPT_MAXFILESIZE
Maximum file size to get. See easy:UnsetOpt_MaxFileSize for details.
#CURLOPT_MAXFILESIZE_LARGE
Maximum file size to get. See easy:UnsetOpt_MaxFileSize_Large for details.
#CURLOPT_MAXREDIRS
Maximum number of redirects to follow. See easy:UnsetOpt_MaxRedirs for details.
#CURLOPT_NETRC
Enable .netrc parsing. See easy:UnsetOpt_Netrc for details.
#CURLOPT_NETRC_FILE
.netrc file name. See easy:UnsetOpt_Netrc_File for details.
#CURLOPT_NEW_DIRECTORY_PERMS
Mode for creating new remote directories. See easy:UnsetOpt_New_Directory_Perms for details.
#CURLOPT_NEW_FILE_PERMS
Mode for creating new remote files. See easy:UnsetOpt_New_File_Perms for details.
#CURLOPT_NOBODY
Do not get the body contents. See easy:UnsetOpt_Nobody for details.
#CURLOPT_NOPROGRESS
Shut off the progress meter. See easy:UnsetOpt_NoProgress for details.
#CURLOPT_NOPROXY
Filter out hosts from proxy use. See easy:UnsetOpt_NoProxy for details.
#CURLOPT_NOSIGNAL
Do not install signal handlers. See easy:UnsetOpt_NoSignal for details.
#CURLOPT_PASSWORD
Password. See easy:UnsetOpt_Password for details.
#CURLOPT_PATH_AS_IS
Disable squashing /. See easy:UnsetOpt_Path_As_Is for details.
#CURLOPT_PINNEDPUBLICKEY
Set pinned SSL public key . See easy:UnsetOpt_PinnedPublicKey for details.
#CURLOPT_PIPEWAIT
Wait on connection to pipeline on it. See easy:UnsetOpt_PipeWait for details.
#CURLOPT_PORT
Port number to connect to. See easy:UnsetOpt_Port for details.
#CURLOPT_POST
How to act on redirects after POST. See easy:UnsetOpt_Post for details.
#CURLOPT_POSTFIELDS
Send a POST with this data. See easy:UnsetOpt_PostFields for details.
#CURLOPT_POSTQUOTE
Commands to run after transfer. See easy:UnsetOpt_PostQuote for details.
#CURLOPT_POSTREDIR
How to act on redirects after POST. See easy:UnsetOpt_PostRedir for details.
#CURLOPT_PRE_PROXY
Socks proxy to use. See easy:UnsetOpt_Pre_Proxy for details.
#CURLOPT_PREQUOTE
Commands to run just before transfer. See easy:UnsetOpt_Prequote for details.
#CURLOPT_PROGRESSFUNCTION
Callback for progress meter. See easy:UnsetOpt_ProgressFunction for details.
#CURLOPT_PROTOCOLS
Allowed protocols. See easy:UnsetOpt_Protocols for details.
#CURLOPT_PROXY
Proxy to use. See easy:UnsetOpt_Proxy for details.
#CURLOPT_PROXY_CAINFO
Proxy CA cert bundle. See easy:UnsetOpt_Proxy_CAInfo for details.
#CURLOPT_PROXY_CAPATH
Path to proxy CA cert bundle. See easy:UnsetOpt_Proxy_CAPath for details.
#CURLOPT_PROXY_CRLFILE
Proxy Certificate Revocation List. See easy:UnsetOpt_Proxy_CRLFile for details.
#CURLOPT_PROXY_KEYPASSWD
Proxy client key password. See easy:UnsetOpt_Proxy_KeyPasswd for details.
#CURLOPT_PROXY_PINNEDPUBLICKEY
Set the proxy's pinned SSL public key. See easy:UnsetOpt_Proxy_PinnedPublicKey for details.
#CURLOPT_PROXY_SERVICE_NAME
Proxy authentication service name. See easy:UnsetOpt_Proxy_Service_Name for details.
#CURLOPT_PROXY_SSL_CIPHER_LIST
Proxy ciphers to use. See easy:UnsetOpt_Proxy_SSL_Cipher_List for details.
#CURLOPT_PROXY_SSL_OPTIONS
Control proxy SSL behavior. See easy:UnsetOpt_Proxy_SSL_Options for details.
#CURLOPT_PROXY_SSL_VERIFYHOST
Verify the host name in the proxy SSL certificate. See easy:UnsetOpt_Proxy_SSL_VerifyHost for details.
#CURLOPT_PROXY_SSL_VERIFYPEER
Verify the proxy SSL certificate. See easy:UnsetOpt_Proxy_SSL_VerifyPeer for details.
#CURLOPT_PROXY_SSLCERT
Proxy client cert. See easy:UnsetOpt_Proxy_SSLCert for details.
#CURLOPT_PROXY_SSLCERTTYPE
Proxy client cert type. See easy:UnsetOpt_Proxy_SSLCertType for details.
#CURLOPT_PROXY_SSLKEY
Proxy client key. See easy:UnsetOpt_Proxy_SSLKey for details.
#CURLOPT_PROXY_SSLKEYTYPE
Proxy client key type. See easy:UnsetOpt_Proxy_SSLKeyType for details.
#CURLOPT_PROXY_SSLVERSION
Proxy SSL version to use. See easy:UnsetOpt_Proxy_SSLVersion for details.
#CURLOPT_PROXY_TLSAUTH_PASSWORD
Proxy TLS authentication password. See easy:UnsetOpt_Proxy_TLSAuth_Password for details.
#CURLOPT_PROXY_TLSAUTH_TYPE
Proxy TLS authentication methods. See easy:UnsetOpt_Proxy_TLSAuth_Type for details.
#CURLOPT_PROXY_TLSAUTH_USERNAME
Proxy TLS authentication user name. See easy:UnsetOpt_Proxy_TLSAuth_UserName for details.
#CURLOPT_PROXY_TRANSFER_MODE
Add transfer mode to URL over proxy. See easy:UnsetOpt_Proxy_Transfer_Mode for details.
#CURLOPT_PROXYAUTH
HTTP proxy authentication methods. See easy:UnsetOpt_ProxyAuth for details.
#CURLOPT_PROXYHEADER
Custom HTTP headers sent to proxy. See easy:UnsetOpt_ProxyHeader for details.
#CURLOPT_PROXYPASSWORD
Proxy password. See easy:UnsetOpt_ProxyPassword for details.
#CURLOPT_PROXYPORT
Proxy port to use. See easy:UnsetOpt_ProxyPort for details.
#CURLOPT_PROXYTYPE
Proxy type. See easy:UnsetOpt_ProxyType for details.
#CURLOPT_PROXYUSERNAME
Proxy user name. See easy:UnsetOpt_ProxyUserName for details.
#CURLOPT_PROXYUSERPWD
Proxy user name and password. See easy:UnsetOpt_ProxyUserPwd for details.
#CURLOPT_PUT
Issue an HTTP PUT request. See easy:UnsetOpt_Put for details.
#CURLOPT_QUOTE
Commands to run before transfer. See easy:UnsetOpt_Quote for details.
#CURLOPT_RANDOM_FILE
Provide source for entropy random data. See easy:UnsetOpt_Random_File for details.
#CURLOPT_RANGE
Range requests. See easy:UnsetOpt_Range for details.
#CURLOPT_READFUNCTION
Callback for reading data. See easy:UnsetOpt_ReadFunction for details.
#CURLOPT_REDIR_PROTOCOLS
Protocols to allow redirects to. See easy:UnsetOpt_Redir_Protocols for details.
#CURLOPT_REFERER
Referer: header. See easy:UnsetOpt_Referer for details.
#CURLOPT_REQUEST_TARGET
Set the request target. See easy:UnsetOpt_Request_Target for details.
#CURLOPT_RESOLVE
Callback to be called before a new resolve request is started. See easy:UnsetOpt_Resolve for details.
#CURLOPT_RESUME_FROM
Resume a transfer. See easy:UnsetOpt_Resume_From for details.
#CURLOPT_RESUME_FROM_LARGE
Resume a transfer. See easy:UnsetOpt_Resume_From_Large for details.
#CURLOPT_RTSP_CLIENT_CSEQ
Client CSEQ number. See easy:UnsetOpt_RTSP_Client_CSeq for details.
#CURLOPT_RTSP_REQUEST
RTSP request. See easy:UnsetOpt_RTSP_Request for details.
#CURLOPT_RTSP_SERVER_CSEQ
CSEQ number for RTSP Server->Client request. See easy:UnsetOpt_RTSP_Server_CSeq for details.
#CURLOPT_RTSP_SESSION_ID
RTSP session-id. See easy:UnsetOpt_RTSP_Session_ID for details.
#CURLOPT_RTSP_STREAM_URI
RTSP stream URI. See easy:UnsetOpt_RTSP_Stream_URI for details.
#CURLOPT_RTSP_TRANSPORT
RTSP Transport: header. See easy:UnsetOpt_RTSP_Transport for details.
#CURLOPT_SASL_IR
Enable SASL initial response. See easy:UnsetOpt_SASL_IR for details.
#CURLOPT_SEEKFUNCTION
Callback for seek operations. See easy:UnsetOpt_SeekFunction for details.
#CURLOPT_SERVICE_NAME
Authentication service name. See easy:UnsetOpt_Service_Name for details.
#CURLOPT_SHARE
Share object to use. See easy:UnsetOpt_Share for details.
#CURLOPT_SOCKS5_AUTH
Socks5 authentication methods. See easy:UnsetOpt_Socks5_Auth for details.
#CURLOPT_SOCKS5_GSSAPI_NEC
Socks5 GSSAPI NEC mode. See easy:UnsetOpt_Socks5_GSSAPI_NEC for details.
#CURLOPT_SOCKS5_GSSAPI_SERVICE
Socks5 GSSAPI service name. See easy:UnsetOpt_Socks5_GSSAPI_Service for details.
#CURLOPT_SSH_AUTH_TYPES
SSH authentication types. See easy:UnsetOpt_SSH_Auth_Types for details.
#CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
MD5 of host's public key. See easy:UnsetOpt_SSH_Host_Public_Key_MD5 for details.
#CURLOPT_SSH_KNOWNHOSTS
File name with known hosts. See easy:UnsetOpt_SSH_KnownHosts for details.
#CURLOPT_SSH_PRIVATE_KEYFILE
File name of private key. See easy:UnsetOpt_SSH_Private_KeyFile for details.
#CURLOPT_SSH_PUBLIC_KEYFILE
File name of public key. See easy:UnsetOpt_SSH_Public_KeyFile for details.
#CURLOPT_SSL_CIPHER_LIST
Ciphers to use. See easy:UnsetOpt_SSL_Cipher_List for details.
#CURLOPT_SSL_ENABLE_ALPN
Enable use of ALPN. See easy:UnsetOpt_SSL_Enable_Alpn for details.
#CURLOPT_SSL_ENABLE_NPN
Enable use of NPN. See easy:UnsetOpt_SSL_Enable_Npn for details.
#CURLOPT_SSL_FALSESTART
Enable TLS False Start. See easy:UnsetOpt_SSL_FalseStart for details.
#CURLOPT_SSL_OPTIONS
Control SSL behavior. See easy:UnsetOpt_SSL_Options for details.
#CURLOPT_SSL_SESSIONID_CACHE
Disable SSL session-id cache. See easy:UnsetOpt_SSL_SessionID_Cache for details.
#CURLOPT_SSL_VERIFYHOST
Verify the host name in the SSL certificate. See easy:UnsetOpt_SSL_VerifyHost for details.
#CURLOPT_SSL_VERIFYPEER
Verify the SSL certificate. See easy:UnsetOpt_SSL_VerifyPeer for details.
#CURLOPT_SSL_VERIFYSTATUS
Verify the SSL certificate's status. See easy:UnsetOpt_SSL_VerifyStatus for details.
#CURLOPT_SSLCERT
Client cert. See easy:UnsetOpt_SSLCert for details.
#CURLOPT_SSLCERTTYPE
Client cert type. See easy:UnsetOpt_SSLCertType for details.
#CURLOPT_SSLENGINE
Use identifier with SSL engine. See easy:UnsetOpt_SSLEngine for details.
#CURLOPT_SSLENGINE_DEFAULT
Default SSL engine. See easy:UnsetOpt_SSLEngine_Default for details.
#CURLOPT_SSLKEY
Client key. See easy:UnsetOpt_SSLKey for details.
#CURLOPT_SSLKEYTYPE
Client key type. See easy:UnsetOpt_SSLKeyType for details.
#CURLOPT_SSLVERSION
SSL version to use. See easy:UnsetOpt_SSLVersion for details.
#CURLOPT_STREAM_DEPENDS
This HTTP/2 stream depends on another. See easy:UnsetOpt_Stream_Depends for details.
#CURLOPT_STREAM_DEPENDS_E
This HTTP/2 stream depends on another exclusively. See easy:UnsetOpt_Stream_Depends_e for details.
#CURLOPT_STREAM_WEIGHT
Set this HTTP/2 stream's weight. See easy:UnsetOpt_Stream_Weight for details.
#CURLOPT_SUPPRESS_CONNECT_HEADERS
Suppress proxy CONNECT response headers from user callbacks. See easy:UnsetOpt_Suppress_Connect_Headers for details.
#CURLOPT_TCP_FASTOPEN
Enable TFO, TCP Fast Open. See easy:UnsetOpt_TCP_FastOpen for details.
#CURLOPT_TCP_KEEPALIVE
Enable TCP keep-alive. See easy:UnsetOpt_TCP_KeepAlive for details.
#CURLOPT_TCP_KEEPIDLE
Idle time before sending keep-alive. See easy:UnsetOpt_TCP_KeepIdle for details.
#CURLOPT_TCP_KEEPINTVL
Interval between keep-alive probes. See easy:UnsetOpt_TCP_KeepIntvl for details.
#CURLOPT_TCP_NODELAY
Disable the Nagle algorithm. See easy:UnsetOpt_TCP_NoDelay for details.
#CURLOPT_TELNETOPTIONS
TELNET options. See easy:UnsetOpt_TelnetOptions for details.
#CURLOPT_TFTP_BLKSIZE
TFTP block size. See easy:UnsetOpt_TFTP_BlkSize for details.
#CURLOPT_TFTP_NO_OPTIONS
Do not send TFTP options requests. See easy:UnsetOpt_TFTP_No_Options for details.
#CURLOPT_TIMECONDITION
Make a time conditional request. See easy:UnsetOpt_TimeCondition for details.
#CURLOPT_TIMEOUT
Timeout for the entire request. See easy:UnsetOpt_Timeout for details.
#CURLOPT_TIMEOUT_MS
Millisecond timeout for the entire request. See easy:UnsetOpt_Timeout_MS for details.
#CURLOPT_TIMEVALUE
Time value for the time conditional request. See easy:UnsetOpt_TimeValue for details.
#CURLOPT_TLSAUTH_PASSWORD
TLS authentication password. See easy:UnsetOpt_TLSAuth_Password for details.
#CURLOPT_TLSAUTH_TYPE
TLS authentication methods. See easy:UnsetOpt_TLSAuth_Type for details.
#CURLOPT_TLSAUTH_USERNAME
TLS authentication user name. See easy:UnsetOpt_TLSAuth_UserName for details.
#CURLOPT_TRANSFER_ENCODING
Request Transfer-Encoding. See easy:UnsetOpt_Transfer_Encoding for details.
#CURLOPT_TRANSFERTEXT
Use text transfer. See easy:UnsetOpt_TransferText for details.
#CURLOPT_UNIX_SOCKET_PATH
Path to a Unix domain socket. See easy:UnsetOpt_Unix_Socket_Path for details.
#CURLOPT_UNRESTRICTED_AUTH
Do not restrict authentication to original host. See easy:UnsetOpt_Unrestricted_Auth for details.
#CURLOPT_UPLOAD
Upload data. See easy:UnsetOpt_Upload for details.
#CURLOPT_URL
URL to work on. See easy:UnsetOpt_URL for details.
#CURLOPT_USE_SSL
Use TLS/SSL. See easy:UnsetOpt_Use_SSL for details.
#CURLOPT_USERAGENT
User-Agent: header. See easy:UnsetOpt_UserAgent for details.
#CURLOPT_USERNAME
User name. See easy:UnsetOpt_UserName for details.
#CURLOPT_USERPWD
User name and password. See easy:UnsetOpt_UserPwd for details.
#CURLOPT_VERBOSE
Display verbose information. See easy:UnsetOpt_Verbose for details.
#CURLOPT_WILDCARDMATCH
Transfer multiple files according to a file name pattern. See easy:UnsetOpt_WildcardMatch for details.
#CURLOPT_WRITEFUNCTION
Callback for writing data. See easy:UnsetOpt_WriteFunction for details.
#CURLOPT_XOAUTH2_BEARER
OAuth2 bearer token. See easy:UnsetOpt_XOAuth2_Bearer for details.

Inputs
option
option type to unset
Example
e:UnsetOpt(#CURLOPT_URL)
e:UnsetOpt(#CURLOPT_VERBOSE)
e:UnsetOpt(#CURLOPT_FOLLOWLOCATION)
The code above unsets some options on an easy handle, i.e. it resets those options to their default values.

Show TOC