]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: Add note about libcurl copying strings to CURLOPT_* manpages
authorFrank Gevaerts <frank@gevaerts.be>
Wed, 21 Dec 2016 13:48:35 +0000 (14:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jan 2017 14:14:55 +0000 (15:14 +0100)
Closes #1169

74 files changed:
docs/libcurl/opts/CURLOPT_ACCEPT_ENCODING.3
docs/libcurl/opts/CURLOPT_CAINFO.3
docs/libcurl/opts/CURLOPT_CAPATH.3
docs/libcurl/opts/CURLOPT_COOKIE.3
docs/libcurl/opts/CURLOPT_COOKIEFILE.3
docs/libcurl/opts/CURLOPT_COOKIEJAR.3
docs/libcurl/opts/CURLOPT_CRLFILE.3
docs/libcurl/opts/CURLOPT_CUSTOMREQUEST.3
docs/libcurl/opts/CURLOPT_DEFAULT_PROTOCOL.3
docs/libcurl/opts/CURLOPT_DNS_INTERFACE.3
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP4.3
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP6.3
docs/libcurl/opts/CURLOPT_DNS_SERVERS.3
docs/libcurl/opts/CURLOPT_EGDSOCKET.3
docs/libcurl/opts/CURLOPT_FTPPORT.3
docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.3
docs/libcurl/opts/CURLOPT_FTP_ALTERNATIVE_TO_USER.3
docs/libcurl/opts/CURLOPT_INTERFACE.3
docs/libcurl/opts/CURLOPT_ISSUERCERT.3
docs/libcurl/opts/CURLOPT_KEYPASSWD.3
docs/libcurl/opts/CURLOPT_KRBLEVEL.3
docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.3
docs/libcurl/opts/CURLOPT_MAIL_AUTH.3
docs/libcurl/opts/CURLOPT_MAIL_FROM.3
docs/libcurl/opts/CURLOPT_NETRC_FILE.3
docs/libcurl/opts/CURLOPT_NOPROXY.3
docs/libcurl/opts/CURLOPT_PASSWORD.3
docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.3
docs/libcurl/opts/CURLOPT_PRE_PROXY.3
docs/libcurl/opts/CURLOPT_PROXY.3
docs/libcurl/opts/CURLOPT_PROXYPASSWORD.3
docs/libcurl/opts/CURLOPT_PROXYUSERNAME.3
docs/libcurl/opts/CURLOPT_PROXYUSERPWD.3
docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3
docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
docs/libcurl/opts/CURLOPT_PROXY_CRLFILE.3
docs/libcurl/opts/CURLOPT_PROXY_KEYPASSWD.3
docs/libcurl/opts/CURLOPT_PROXY_PINNEDPUBLICKEY.3
docs/libcurl/opts/CURLOPT_PROXY_SERVICE_NAME.3
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT.3
docs/libcurl/opts/CURLOPT_PROXY_SSLCERTTYPE.3
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY.3
docs/libcurl/opts/CURLOPT_PROXY_SSLKEYTYPE.3
docs/libcurl/opts/CURLOPT_PROXY_SSL_CIPHER_LIST.3
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_PASSWORD.3
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_TYPE.3
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_USERNAME.3
docs/libcurl/opts/CURLOPT_RANDOM_FILE.3
docs/libcurl/opts/CURLOPT_RANGE.3
docs/libcurl/opts/CURLOPT_REFERER.3
docs/libcurl/opts/CURLOPT_RTSP_SESSION_ID.3
docs/libcurl/opts/CURLOPT_RTSP_STREAM_URI.3
docs/libcurl/opts/CURLOPT_RTSP_TRANSPORT.3
docs/libcurl/opts/CURLOPT_SERVICE_NAME.3
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_SERVICE.3
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3
docs/libcurl/opts/CURLOPT_SSH_KNOWNHOSTS.3
docs/libcurl/opts/CURLOPT_SSH_PRIVATE_KEYFILE.3
docs/libcurl/opts/CURLOPT_SSH_PUBLIC_KEYFILE.3
docs/libcurl/opts/CURLOPT_SSLCERT.3
docs/libcurl/opts/CURLOPT_SSLCERTTYPE.3
docs/libcurl/opts/CURLOPT_SSLENGINE.3
docs/libcurl/opts/CURLOPT_SSLKEY.3
docs/libcurl/opts/CURLOPT_SSLKEYTYPE.3
docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.3
docs/libcurl/opts/CURLOPT_TLSAUTH_PASSWORD.3
docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.3
docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.3
docs/libcurl/opts/CURLOPT_UNIX_SOCKET_PATH.3
docs/libcurl/opts/CURLOPT_URL.3
docs/libcurl/opts/CURLOPT_USERAGENT.3
docs/libcurl/opts/CURLOPT_USERNAME.3
docs/libcurl/opts/CURLOPT_USERPWD.3
docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3

index c3126313923cc7181fdff3cc14e62b5d69614c92..3a5fc166d1bbe90a958c97b7571a4eac2660b36a 100644 (file)
@@ -58,6 +58,9 @@ The Content-Length: servers send for a compressed response is supposed to
 indicate the length of the compressed content so when auto decoding is enabled
 it may not match the sum of bytes reported by the write callbacks (although,
 sending the length of the non-compressed content is a common server mistake).
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 7db50a8fa3d6c9dac85c9c01cefc0834d1a1b7c6..127b904436ff63a5dc356d764de7d96b39e9a323 100644 (file)
@@ -46,6 +46,9 @@ option is supported for backward compatibility with other SSL engines, but it
 should not be set. If the option is not set, then curl will use the
 certificates in the system and user Keychain to verify the peer, which is the
 preferred method of verifying the peer's certificate chain.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 Built-in system specific
 .SH PROTOCOLS
index 0369f891028333024e27df6b77e5e82873edcb6d..85ef069562ee364365c5df5aec8b300dad820498 100644 (file)
@@ -36,6 +36,9 @@ This makes sense only when used in combination with the
 
 The \fICURLOPT_CAPATH(3)\fP function apparently does not work in Windows due
 to some limitation in openssl.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 32c2fc2934e30b64237b5ec6ac5df07afab2fabc..d0da3f1f1c52d1cfc5693fb8c5cb6c2919470962 100644 (file)
@@ -55,6 +55,9 @@ previous ones.
 This option will not enable the cookie engine. Use \fICURLOPT_COOKIEFILE(3)\fP
 or \fICURLOPT_COOKIEJAR(3)\fP to enable parsing and sending cookies
 automatically.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL, no cookies
 .SH PROTOCOLS
index 00816b15dd53d310dac2fb35d73e7c7085fd50a7..ba2d1e350c8ad0dd47eded83d146bf8dc9bd05c1 100644 (file)
@@ -53,6 +53,9 @@ sub-domains) or use the Netscape format.
 
 If you use this option multiple times, you just add more files to read.
 Subsequent files will add more cookies.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 79a37230547f7b9aae3050b4893a8a8563172a29..3c1f541037a362ee9a66bc3598151fe6a1c57fca 100644 (file)
@@ -46,6 +46,9 @@ only visible feedback you get about this possibly lethal situation.
 
 Since 7.43.0 cookies that were imported in the Set-Cookie format without a
 domain name are not exported by this option.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 6bb035e7ea65180cf0d34bfb1923015988f6b88e..4ab7a64a53431100bf28d6d5180eb77d9e55f9a6 100644 (file)
@@ -45,6 +45,9 @@ A specific error code (\fICURLE_SSL_CRL_BADFILE\fP) is defined with the
 option. It is returned when the SSL exchange fails because the CRL file cannot
 be loaded.  A failure in certificate verification due to a revocation
 information found in the CRL does not trigger this specific error.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 553d40857d5d2e412887c5d5f793373fd46f69c3..2bd3517997252f2f8d5afde36a95dbfb01cdf64f 100644 (file)
@@ -80,6 +80,9 @@ Normally a multiline response is returned which can be used, in conjunction
 with \fICURLOPT_MAIL_RCPT(3)\fP, to specify an EXPN request. If the
 \fICURLOPT_NOBODY(3)\fP option is specified then the request can be used to
 issue NOOP and RSET commands.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index f7f890cad0aae689891969bf9c9f932a64606fd7..a39c6b3f4c62ee8c9e2cdae55ae33103488aa8d6 100644 (file)
@@ -49,6 +49,9 @@ This option does not change the default proxy protocol (http).
 
 Without this option libcurl would make a guess based on the host, see
 \fICURLOPT_URL(3)\fP for details.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL (make a guess based on the host)
 .SH PROTOCOLS
index f76439807cdab1adfe7ad9009db17eec12729152..8df700a456f6c2c5daea7c38dc79b1c9518be857 100644 (file)
@@ -32,6 +32,9 @@ Pass a char * as parameter. Set the name of the network interface that the DNS
 resolver should bind to. This must be an interface name (not an address). Set
 this option to NULL to use the default setting (don't bind to a specific
 interface).
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index ef9f1e2676377ad6c50f4ec433bb21269c1ba81e..1c4470ef9d9e749f674f98f7b13efafa8a0e5554 100644 (file)
@@ -32,6 +32,9 @@ Set the local IPv4 \fIaddress\fP that the resolver should bind to. The
 argument should be of type char * and contain a single numerical IPv4 address
 as a string.  Set this option to NULL to use the default setting (don't bind
 to a specific IP address).
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 7d82bdf85752640e109f62d3a3824c9d0afdfb59..3c783479a89ba495b13299dea3330bb67a56ef65 100644 (file)
@@ -32,6 +32,9 @@ Set the local IPv6 \fIaddress\fP that the resolver should bind to. The
 argument should be of type char * and contain a single IPv6 address as a
 string.  Set this option to NULL to use the default setting (don't bind to a
 specific IP address).
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 14c9f9bd4d90f57c827ecfa093bd561d6953c4e5..522eabcc5ca492eabfc0a511cebd4cae67e5ffbb 100644 (file)
@@ -36,6 +36,9 @@ host[:port][,host[:port]]...
 For example:
 
 192.168.1.100,192.168.1.101,3.4.5.6
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL - use system default
 .SH PROTOCOLS
index ad91c3f013246b8e6b5e1e8722d5086799fc9292..117ed3bc8d25fa6efc31920f9f5a15e0cea64fc5 100644 (file)
@@ -30,6 +30,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_EGDSOCKET, char *path);
 .SH DESCRIPTION
 Pass a char * to the zero terminated path name to the Entropy Gathering Daemon
 socket. It will be used to seed the random engine for SSL.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 8e300bc217a111cfa3edf4c8e11ab13eed4cf324..0f2a9f7f93e8ca049cac391f517b233b2abd8b8e 100644 (file)
@@ -57,6 +57,9 @@ Examples with specified ports:
 
 You disable PORT again and go back to using the passive version by setting
 this option to NULL.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 0d768d773e773e7c140045c580f47529c3af63c8..5422a6bfe6b694e23bdcdb372c2e86f604728fc5 100644 (file)
@@ -31,6 +31,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_ACCOUNT, char *account);
 Pass a pointer to a zero terminated string (or NULL to disable). When an FTP
 server asks for "account data" after user name and password has been provided,
 this data is sent off using the ACCT command.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 57581090653e5574b9f8a8a40e7a8ec86dbb13e9..cd444b6aec5e1781865b07bc99d08a070445cdf6 100644 (file)
@@ -35,6 +35,9 @@ authenticate if the usual FTP "USER user" and "PASS password" negotiation
 fails. This is currently only known to be required when connecting to
 Tumbleweed's Secure Transport FTPS server using client certificates for
 authentication.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 77db3723ecbe04cf46d544a6592f779d9007e586..8b7aff0c573a1c0f75006bb255f4ab7293a56b48 100644 (file)
@@ -40,6 +40,9 @@ synchronously.  Using the if! format is highly recommended when using the
 multi interfaces to avoid allowing the code to block.  If "if!" is specified
 but the parameter does not match an existing interface, CURLE_INTERFACE_FAILED
 is returned from the libcurl function used to perform the transfer.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL, use whatever the TCP stack finds suitable
 .SH PROTOCOLS
index 61198eac2b966b983dd38a163a64b988b3f4915e..8919039bc6b51afbaef98e681fd06cb92b45b024 100644 (file)
@@ -43,6 +43,9 @@ A specific error code (CURLE_SSL_ISSUER_ERROR) is defined with the option,
 which is returned if the setup of the SSL/TLS session has failed due to a
 mismatch with the issuer of peer certificate (\fICURLOPT_SSL_VERIFYPEER(3)\fP
 has to be set too for the check to fail). (Added in 7.19.0)
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 9b85b824d6c4490ff8b16d5a42b17bf5fe36f883..45f6aca3f6ba00fd5cd80aa1eb0447773faece75 100644 (file)
@@ -32,6 +32,9 @@ Pass a pointer to a zero terminated string as parameter. It will be used as
 the password required to use the \fICURLOPT_SSLKEY(3)\fP or
 \fICURLOPT_SSH_PRIVATE_KEYFILE(3)\fP private key.  You never needed a pass
 phrase to load a certificate but you need one to load your private key.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 6ebd2f27222b655757cf91807f07af5d2ae51563..f23d72c2bf8e4ca2e06afd02c36016fddcbc857a 100644 (file)
@@ -33,6 +33,9 @@ enables kerberos awareness.  This is a string that should match one of the
 following: \&'clear', \&'safe', \&'confidential' or \&'private'.  If the
 string is set but doesn't match one of these, 'private' will be used. Set the
 string to NULL to disable kerberos support for FTP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index a9ca192878d3d83fabc6d70f6194b4dff35f0fe9..5688bb99a9e8da1deaa03feb1d8a54350c9fcccd 100644 (file)
@@ -38,6 +38,9 @@ IETF draft draft-earhart-url-smtp-00.txt
 options, such as the preferred authentication mechanism via "AUTH=NTLM" or
 "AUTH=*", and should be used in conjunction with the \fICURLOPT_USERNAME(3)\fP
 option.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index bd581f0d280924832e3d5550b750f87c51976545..ef917791d90e068b3d364bda75d3b519cea7c3c1 100644 (file)
@@ -43,6 +43,9 @@ Unlike \fICURLOPT_MAIL_FROM(3)\fP and \fICURLOPT_MAIL_RCPT(3)\fP, the address
 should not be specified within a pair of angled brackets (<>). However, if an
 empty string is used then a pair of brackets will be sent by libcurl as
 required by RFC2554.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 0420d4936e93738b6c73a63fda128bb56c2101bd..4283f90dba335a0c8e4dce75936b7dac4785a7b5 100644 (file)
@@ -36,6 +36,9 @@ around it, which if not specified will be added automatically.
 
 If this parameter is not specified then an empty address will be sent to the
 mail server which may cause the email to be rejected.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index d3ecc95745abf88e1cc5f10e805d68b5b813a07c..b7132569a248caba7e11d3fe8e5eb13ed59de6c1 100644 (file)
@@ -33,6 +33,9 @@ the full path name to the \fIfile\fP you want libcurl to use as .netrc
 file. If this option is omitted, and \fICURLOPT_NETRC(3)\fP is set, libcurl
 will attempt to find a .netrc file in the current user's home
 directory.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 2998a30a86fbf57427ce68a363a60cefa18ef6a6..1048b55a37c5e2d84cd252aa1cbedf33cce4bbb2 100644 (file)
@@ -36,6 +36,9 @@ list is matched as either a domain which contains the hostname, or the
 hostname itself. For example, example.com would match example.com,
 example.com:80, and www.example.com, but not www.notanexample.com or
 example.com.othertld.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 06ed9e19e72ee1c904654efd261e348716dbf481..e9f6d06bcd931319a75a813e08ad559e2ee89e8f 100644 (file)
@@ -33,6 +33,9 @@ password to use for the transfer.
 
 The \fICURLOPT_PASSWORD(3)\fP option should be used in conjunction with the
 \fICURLOPT_USERNAME(3)\fP option.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index 33d201d908387580590889d43ab93983ff26d641..1951c88a6c861327cca562d4140a6d26b9d39916 100644 (file)
@@ -39,6 +39,9 @@ if it does not exactly match the public key provided to this option, curl will
 abort the connection before sending or receiving any data.
 
 On mismatch, \fICURLE_SSL_PINNEDPUBKEYNOTMATCH\fP is returned.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 035dd3ac678fbdb469c5b85777bfd429d6ce5006..c5f6dcf7fbfeb384dd9385781bc5a14eff05c559 100644 (file)
@@ -50,6 +50,9 @@ be used. Otherwise SOCKS4 is used as default.
 
 Setting the pre proxy string to "" (an empty string) will explicitly disable
 the use of a pre proxy.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 Default is NULL, meaning no pre proxy is used.
 
index 64b74faedd426307881e8bf7b75b0d1465c505f3..9a865611409f516d0db06abc06d963b1f0aedc29 100644 (file)
@@ -62,6 +62,9 @@ use of a proxy, even if there is an environment variable set for it.
 
 A proxy host string can also include protocol scheme (http://) and embedded
 user + password.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 Default is NULL, meaning no proxy is used.
 
index 18272c34c31deb5ee1c64f5d515e360ee2eded93..c7fbb179ee0e417a6d93ce6c75f4cf3dd9aa39d2 100644 (file)
@@ -33,6 +33,9 @@ password to use for authentication with the proxy.
 
 The \fICURLOPT_PROXYPASSWORD(3)\fP option should be used in conjunction with
 the \fICURLOPT_PROXYUSERNAME(3)\fP option.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index 0d7a241fb190d99377ff4be6ecda0daa3985bcb8..46ecac6bfe8f723523a80a875aba72ce0132f2c5 100644 (file)
@@ -37,6 +37,9 @@ user name to use for the transfer.
 authentication with the proxy.
 
 To specify the proxy password use the \fICURLOPT_PROXYPASSWORD(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index 1b47b892f2f3fc112cd0599e7e152dc1cc6e0bc2..ebfcfcc99f41fb9ad499026fb8363ed2bbdfeae0 100644 (file)
@@ -35,6 +35,9 @@ should encode it as %3A. (This is different to how \fICURLOPT_USERPWD(3)\fP is
 used - beware.)
 
 Use \fICURLOPT_PROXYAUTH(3)\fP to specify the authentication method.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 This is NULL by default.
 .SH PROTOCOLS
index dfc025f00d807679f3366222e4944c5322266f42..43bc32b5bb037f56a3625d3fc2a789f3a679e0af 100644 (file)
@@ -48,6 +48,9 @@ option is supported for backward compatibility with other SSL engines, but it
 should not be set. If the option is not set, then curl will use the
 certificates in the system and user Keychain to verify the peer, which is the
 preferred method of verifying the peer's certificate chain.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 Built-in system specific
 .SH PROTOCOLS
index 871d8c9b86b829b82bdc195ee2a245f1e352ccc0..372cc95034a4105d8722ccb7b8d594fb873c9b19 100644 (file)
@@ -33,6 +33,9 @@ CA certificates to verify the HTTPS proxy with. If libcurl is built against
 OpenSSL, the certificate directory must be prepared using the openssl c_rehash
 utility. This makes sense only when \fICURLOPT_SSL_VERIFYPEER(3)\fP is enabled
 (which it is by default).
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index f9d445767770d6ec63d9320d342dbae186d32877..9a079a923e7d7700f7f593a49ee17f079705ea07 100644 (file)
@@ -47,6 +47,9 @@ A specific error code (\fICURLE_SSL_CRL_BADFILE\fP) is defined with the
 option. It is returned when the SSL exchange fails because the CRL file cannot
 be loaded.  A failure in certificate verification due to a revocation
 information found in the CRL does not trigger this specific error.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index bddecd124418cc916f87e2cbd8d4162eea414e46..50019e1082af7b838442a75cadc94bf985227a7e 100644 (file)
@@ -34,6 +34,9 @@ Pass a pointer to a zero terminated string as parameter. It will be used as
 the password required to use the \fICURLOPT_PROXY_SSLKEY(3)\fP private key.
 You never needed a pass phrase to load a certificate but you need one to load
 your private key.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index db2cd70e09dd13217209ea838984d7ebd93eb5cc..ebe3d7fd235d1617d10be1f43b622a98c8b53569 100644 (file)
@@ -39,6 +39,9 @@ if it does not exactly match the public key provided to this option, curl will
 abort the connection before sending or receiving any data.
 
 On mismatch, \fICURLE_SSL_PINNEDPUBKEYNOTMATCH\fP is returned.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index a010382fdce5f2b0a809e64fdb519ac93a3d5377..27467d955bae2314d6c23f2f42bd7047f9d9beda 100644 (file)
@@ -31,6 +31,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SERVICE_NAME, char *name);
 Pass a char * as parameter to a string holding the \fIname\fP of the
 service. The default service name is "HTTP" for HTTP based proxies and "rcmd"
 for SOCKS5. This option allows you to change it.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 See above
 .SH PROTOCOLS
index 9d3c029a0a001dcf187ab830d6186858bc25fe27..c1b7f27f0c0ee7a6c88fa074eb121dae53ffa0db 100644 (file)
@@ -42,6 +42,9 @@ prefix, in order to avoid confusion with a nickname.
 
 When using a client certificate, you most likely also need to provide a
 private key with \fICURLOPT_PROXY_SSLKEY(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 72c7bf491d0f2b59adb174ec7c4392bd0c73ad56..5e8aa4b29d15b96b8bcaeb8b6ac2156287d05733 100644 (file)
@@ -34,6 +34,9 @@ the format of your client certificate used when connecting to a HTTPS proxy.
 Supported formats are "PEM" and "DER", except with Secure Transport. OpenSSL
 (versions 0.9.3 and later) and Secure Transport (on iOS 5 or later, or OS X
 10.7 or later) also support "P12" for PKCS#12-encoded files.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 "PEM"
 .SH PROTOCOLS
index 12c3e6850f181a7774b30b65285babbd9a7223b2..b38f8c01d7981c33dac6472161428be76e4ee23f 100644 (file)
@@ -36,6 +36,9 @@ default format is "PEM" and can be changed with
 (iOS and Mac OS X only) This option is ignored if curl was built against
 Secure Transport. Secure Transport expects the private key to be already
 present in the keychain or PKCS#12 file containing the certificate.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index c167b6d58d29132f76cf1e86431b290336a4f371..66e7ce8e053de5fa6e2f03141f96c37af1fd7a7c 100644 (file)
@@ -32,6 +32,9 @@ This option is for connecting to a HTTPS proxy, not a HTTPS server.
 
 Pass a pointer to a zero terminated string as parameter. The string should be
 the format of your private key. Supported formats are "PEM", "DER" and "ENG".
+
+The application does not have to keep the string around after setting this
+option.
 .SH PROTOCOLS
 Used with HTTPS proxy
 .SH EXAMPLE
index 54b3646d71cdbb123580d2bb31b982ce0e4a2afc..5cff16d4d305c2094a0baad2a7d2bfd6822fc29a 100644 (file)
@@ -50,6 +50,9 @@ enabled.
 You'll find more details about the NSS cipher lists on this URL:
 
  http://git.fedorahosted.org/cgit/mod_nss.git/plain/docs/mod_nss.html#Directives
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL, use internal default
 .SH PROTOCOLS
index 809ffb27b89294382ae1352c33b0e489b9a214f8..b9b6232d7eade87bc616dde7e63d13bcb845b664 100644 (file)
@@ -32,6 +32,9 @@ Pass a char * as parameter, which should point to the zero terminated password
 to use for the TLS authentication method specified with the
 \fICURLOPT_PROXY_TLSAUTH_TYPE(3)\fP option. Requires that the
 \fICURLOPT_PROXY_TLSAUTH_USERNAME(3)\fP option also be set.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index dbf00b671b370292a7ec76dd0cc14fb3e81ae310..5a30a785c87e1f438a03f5e4e3ffdfcef98cd6a5 100644 (file)
@@ -38,6 +38,9 @@ defined in RFC5054 and provides mutual authentication if both sides have a
 shared secret. To use TLS-SRP, you must also set the
 \fICURLOPT_PROXY_TLSAUTH_USERNAME(3)\fP and
 \fICURLOPT_PROXY_TLSAUTH_PASSWORD(3)\fP options.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index 2a2c8669bd3c308614d481d3e6d708638246adf1..3ba4ef955fce35cb82d6931682fe5cca30f0da70 100644 (file)
@@ -32,6 +32,9 @@ Pass a char * as parameter, which should point to the zero terminated username
 to use for the HTTPS proxy TLS authentication method specified with the
 \fICURLOPT_PROXY_TLSAUTH_TYPE(3)\fP option. Requires that the
 \fICURLOPT_PROXY_TLSAUTH_PASSWORD(3)\fP option also be set.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index c8223250532a4f46c522bda5633d780fe45c79cc..4c3e13fe433bdf2f58442352b4d30497a5bd2d0c 100644 (file)
@@ -30,6 +30,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RANDOM_FILE, char *path);
 .SH DESCRIPTION
 Pass a char * to a zero terminated file name. The file will be used to read
 from to seed the random engine for SSL and more.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL, not used
 .SH PROTOCOLS
index 375a944c6d512d7245d0aecffae2d60fc159da57..e90696c01a76e4f876c5b8c5ff40a56c28843610 100644 (file)
@@ -44,6 +44,9 @@ RTSP, byte ranges are \fBnot\fP permitted. Instead, ranges should be given in
 npt, utc, or smpte formats.
 
 Pass a NULL to this option to disable the use of ranges.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 71aae83f7e5ce4375d00fc1a9e297b2568606264..881f48c9ebe4cd41fc674940bb6bad2a67b490e0 100644 (file)
@@ -32,6 +32,9 @@ Pass a pointer to a zero terminated string as parameter. It will be used to
 set the Referer: header in the http request sent to the remote server. This
 can be used to fool servers or scripts. You can also set any custom header
 with \fICURLOPT_HTTPHEADER(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index cd31899395c29cd06bda6bb75534e6e5aabdd3ee..8f5cdff10c623de92ae435d11be616ba7cf7cbc8 100644 (file)
@@ -34,6 +34,9 @@ set to any non-NULL value, libcurl will return \fICURLE_RTSP_SESSION_ERROR\fP
 if ID received from the server does not match. If unset (or set to NULL),
 libcurl will automatically set the ID the first time the server sets it in a
 response.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 1abb61f6d3d5f1d7598dab54288472b8f1307b6b..356455bd4b9259185d780360ede2222556cc4b6a 100644 (file)
@@ -38,6 +38,9 @@ with RTSP, the \fICURLOPT_RTSP_STREAM_URI(3)\fP indicates what URL to send to
 the server in the request header while the \fICURLOPT_URL(3)\fP indicates
 where to make the connection to.  (e.g. the \fICURLOPT_URL(3)\fP for the above
 examples might be set to \fIrtsp://foo/twister\fP
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 '*'
 .SH PROTOCOLS
index 367236b605b7b1ce3aa9a60dc6a32e3014a98113..52d607845805a1356048a6dc82d5dbc4a4a7d07b 100644 (file)
@@ -34,6 +34,9 @@ Pass a char * to tell libcurl what to pass for the Transport: header for this
 RTSP session. This is mainly a convenience method to avoid needing to set a
 custom Transport: header for every SETUP request. The application must set a
 Transport: header before issuing a SETUP request.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index b9f491b03cce0f0d9da58a80600024dc0665e015..baed963db8f562ccab528bc77350613719c24530 100644 (file)
@@ -32,6 +32,9 @@ Pass a char * as parameter to a string holding the \fIname\fP of the service
 for DIGEST-MD5, SPNEGO and Kerberos 5 authentication mechanisms. The default
 service names are "ftp", "HTTP", "imap", "pop" and "smtp". This option allows
 you to change them.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 See above
 .SH PROTOCOLS
index 440f0894f6c0a7d5457653943dd375ce05ef7d8f..1eda29c8ae550e74f1bac19ae77fa124714be3f7 100644 (file)
@@ -33,6 +33,9 @@ Deprecated since 7.49.0. Use \fICURLOPT_PROXY_SERVICE_NAME(3)\fP instead.
 Pass a char * as parameter to a string holding the \fIname\fP of the service.
 The default service name for a SOCKS5 server is "rcmd". This option allows you
 to change it.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 See above
 .SH PROTOCOLS
index 2ea236024eeb6fc78d66e216aaacc09881c140ba..d9001b55b6ae94c1cd9831c6e964509067d675d4 100644 (file)
@@ -33,6 +33,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSH_HOST_PUBLIC_KEY_MD5,
 Pass a char * pointing to a string containing 32 hexadecimal digits. The
 string should be the 128 bit MD5 checksum of the remote host's public key, and
 libcurl will reject the connection to the host unless the md5sums match.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 9ea0c8647d19dd2014c2fcf752f123640ea3535a..e82ee42477bce6b81a8455c8a7583ff01833af00 100644 (file)
@@ -34,6 +34,9 @@ format as supported by libssh2. If this file is specified, libcurl will only
 accept connections with hosts that are known and present in that file, with a
 matching public key. Use \fICURLOPT_SSH_KEYFUNCTION(3)\fP to alter the default
 behavior on host and key (mis)matching.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 0c35ed55ab94518dddb4683bf848e0073134e1f2..7c24a903aeeb3dbb4c5fa010f8de85f198c309ec 100644 (file)
@@ -36,6 +36,9 @@ is set, and just "id_dsa" in the current directory if HOME is not set.
 
 If the file is password-protected, set the password with
 \fICURLOPT_KEYPASSWD(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 As explained above
 .SH PROTOCOLS
index f9aaeaef3ec7c4cc8a0d9588b984d06bebb8f428..1dbdf65959477dc557ad37af04955f69c6dd8079 100644 (file)
@@ -38,6 +38,9 @@ set.
 If NULL (or an empty string) is passed, libcurl will pass no public key to
 libssh2, which then tries to compute it from the private key.  This is known
 to work with libssh2 1.4.0+ linked against OpenSSL.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index b5d68cf79e86b9cca904db1eaa6c591c4fba1d84..dd6e48b196010ff0302824a747ecf7ca7b98154f 100644 (file)
@@ -40,6 +40,9 @@ prefix, in order to avoid confusion with a nickname.
 
 When using a client certificate, you most likely also need to provide a
 private key with \fICURLOPT_SSLKEY(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 98df39d7a4c4d571c7c25edd36c623cedf3ec386..d68362a0128e587de558927915898366e523cef2 100644 (file)
@@ -33,6 +33,9 @@ the format of your certificate. Supported formats are "PEM" and "DER", except
 with Secure Transport. OpenSSL (versions 0.9.3 and later) and Secure Transport
 (on iOS 5 or later, or OS X 10.7 or later) also support "P12" for
 PKCS#12-encoded files.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 "PEM"
 .SH PROTOCOLS
index d0c48a4b286d476eb2f6eea452290ec39538e4d2..c691a85c81c61e46e2c254c0001e13586b28a631 100644 (file)
@@ -30,6 +30,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSLENGINE, char *id);
 .SH DESCRIPTION
 Pass a pointer to a zero terminated string as parameter. It will be used as
 the identifier for the crypto engine you want to use for your private key.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 8bc82058b88f62171ec897a08991cd67a694424b..b8027c4b31a94fd4f622f16420b7c501c6a57687 100644 (file)
@@ -35,6 +35,9 @@ changed with \fICURLOPT_SSLKEYTYPE(3)\fP.
 (iOS and Mac OS X only) This option is ignored if curl was built against
 Secure Transport. Secure Transport expects the private key to be already
 present in the keychain or PKCS#12 file containing the certificate.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 7616a3f44fe424ebda5392bba6604bd2cc26426c..2e044346ade1cf3d19d97128b9267974d4e8314a 100644 (file)
@@ -35,6 +35,9 @@ The format "ENG" enables you to load the private key from a crypto engine. In
 this case \fICURLOPT_SSLKEY(3)\fP is used as an identifier passed to the
 engine. You have to set the crypto engine with \fICURLOPT_SSLENGINE(3)\fP.
 \&"DER" format key file currently does not work because of a bug in OpenSSL.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 "PEM"
 .SH PROTOCOLS
index 5f3668a720c075667db9f2d4719328b36020f781..ddf2c05b0a140968b6d5c88ed28b409f791c806b 100644 (file)
@@ -49,6 +49,9 @@ enabled.
 
 For WolfSSL, valid examples of cipher lists include
 \'ECDHE-RSA-RC4-SHA\', 'AES256-SHA:AES256-SHA256', etc.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL, use internal default
 .SH PROTOCOLS
index 78fad0efbe070cf78129c206d92a39de4a5d921c..c6b6a7410c533daad9b76852f2cc5b7dc83a17cd 100644 (file)
@@ -32,6 +32,9 @@ Pass a char * as parameter, which should point to the zero terminated password
 to use for the TLS authentication method specified with the
 \fICURLOPT_TLSAUTH_TYPE(3)\fP option. Requires that the
 \fICURLOPT_TLSAUTH_USERNAME(3)\fP option also be set.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 5655e7d7151278e3a86e997cf5c584198cc08fdf..8620423da5cbe69976d8a096f5a9d812032873de 100644 (file)
@@ -37,6 +37,9 @@ defined in RFC5054 and provides mutual authentication if both sides have a
 shared secret. To use TLS-SRP, you must also set the
 \fICURLOPT_TLSAUTH_USERNAME(3)\fP and \fICURLOPT_TLSAUTH_PASSWORD(3)\fP
 options.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index 5022e4e085190ca4bbe463bb0db8ebf42e1bf9e6..a9b46e3e825deac8eb194234edcaa8ae9b08e5d8 100644 (file)
@@ -32,6 +32,9 @@ Pass a char * as parameter, which should point to the zero terminated username
 to use for the TLS authentication method specified with the
 \fICURLOPT_TLSAUTH_TYPE(3)\fP option. Requires that the
 \fICURLOPT_TLSAUTH_PASSWORD(3)\fP option also be set.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index ed2b91b551d0afd981480686d3e651bba0721ec2..8cf4d24ea2918758bc8d37a52279408fcb0d9b52 100644 (file)
@@ -46,6 +46,9 @@ are not supported. Proxy options such as
 .BR CURLOPT_PROXY "(3)
 have no effect either as these are TCP-oriented, and asking a proxy server to
 connect to a certain Unix domain socket is not possible.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 Default is NULL, meaning that no Unix domain sockets are used.
 .SH PROTOCOLS
index a7d81df2c3c151bc139014a074cd0e3491031169..879f18323ca956eb780749e11144658fe8874886 100644 (file)
@@ -283,6 +283,9 @@ user wants to pass in a '#' (hash) character it will be treated as a fragment
 and get cut off by libcurl if provided literally. You will instead have to
 escape it by providing it as backslash and its ASCII value in hexadecimal:
 "\\23".
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 There is no default URL. If this option isn't set, no transfer can be
 performed.
index c769e955a32f0a8374c358a0507a39713ab5d93e..bf58f2bc905d204f5bd207bdbc63f4ac13d6f23d 100644 (file)
@@ -32,6 +32,9 @@ Pass a pointer to a zero terminated string as parameter. It will be used to
 set the User-Agent: header in the HTTP request sent to the remote server. This
 can be used to fool servers or scripts. You can also set any custom header
 with \fICURLOPT_HTTPHEADER(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL, no User-Agent: header is used by default.
 .SH PROTOCOLS
index ec6001078f1ef358c99993c00c8aeba4202e6642..1e4b90fd65c3f6940dfc590f609e30495121cc02 100644 (file)
@@ -55,6 +55,9 @@ authentication as well.
 
 To specify the password and login options, along with the user name, use the
 \fICURLOPT_PASSWORD(3)\fP and \fICURLOPT_LOGIN_OPTIONS(3)\fP options.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 blank
 .SH PROTOCOLS
index 19404f6b6d0c0e930641b87d6463fc41433c2623..ad574206347a1d856306e0913641669af3da3d89 100644 (file)
@@ -61,6 +61,9 @@ SMTP options.
 The user and password strings are not URL decoded, so there's no way to send
 in a user name containing a colon using this option. Use
 \fICURLOPT_USERNAME(3)\fP for that, or include it in the URL.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index b6c1feef67e163ac330bced679d9eb2717329b22..f5c59ac5b62736b6959f53a9759bb86cb187f743 100644 (file)
@@ -34,6 +34,9 @@ the OAuth 2.0 Authorization Framework.
 
 Note: The user name used to generate the Bearer Token should be supplied via
 the \fICURLOPT_USERNAME(3)\fP option.
+
+The application does not have to keep the string around after setting this
+option.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS