aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts
AgeCommit message (Collapse)Author
2014-12-15opts: Warn CURLOPT_TIMEOUT overrides when set after CURLOPT_TIMEOUT_MSJay Satiro
Change CURLOPT_TIMEOUT doc to warn that if CURLOPT_TIMEOUT and CURLOPT_TIMEOUT_MS are both set whichever one is set last is the one that will be used. Prior to this change that behavior was only noted in the CURLOPT_TIMEOUT_MS doc.
2014-12-04opts: fix CURLOPT_UNIX_SOCKET_PATH formattingPeter Wu
Add .nf and .fi such that the code gets wrapped in a pre on the web. Fixed grammar, fixed formatting of the "See also" items. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-12-03opts: added CURLOPT_UNIX_SOCKET_PATH to Makefile.amDaniel Stenberg
2014-12-04libcurl: add UNIX domain sockets supportPeter Wu
The ability to do HTTP requests over a UNIX domain socket has been requested before, in Apr 2008 [0][1] and Sep 2010 [2]. While a discussion happened, no patch seems to get through. I decided to give it a go since I need to test a nginx HTTP server which listens on a UNIX domain socket. One patch [3] seems to make it possible to use the CURLOPT_OPENSOCKETFUNCTION function to gain a UNIX domain socket. Another person wrote a Go program which can do HTTP over a UNIX socket for Docker[4] which uses a special URL scheme (though the name contains cURL, it has no relation to the cURL library). This patch considers support for UNIX domain sockets at the same level as HTTP proxies / IPv6, it acts as an intermediate socket provider and not as a separate protocol. Since this feature affects network operations, a new feature flag was added ("unix-sockets") with a corresponding CURL_VERSION_UNIX_SOCKETS macro. A new CURLOPT_UNIX_SOCKET_PATH option is added and documented. This option enables UNIX domain sockets support for all requests on the handle (replacing IP sockets and skipping proxies). A new configure option (--enable-unix-sockets) and CMake option (ENABLE_UNIX_SOCKETS) can disable this optional feature. Note that I deliberately did not mark this feature as advanced, this is a feature/component that should easily be available. [0]: http://curl.haxx.se/mail/lib-2008-04/0279.html [1]: http://daniel.haxx.se/blog/2008/04/14/http-over-unix-domain-sockets/ [2]: http://sourceforge.net/p/curl/feature-requests/53/ [3]: http://curl.haxx.se/mail/lib-2008-04/0361.html [4]: https://github.com/Soulou/curl-unix-socket Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-30docs: Updated for the SMB protocolBill Nagel
This patch updates the documentation for the SMB/CIFS protocol.
2014-11-26docs: Updated for commit 4bd860a001 and SMTP Unix line ending conversionSteve Holme
2014-11-25CURLOPT_CRLF.3: Fixed inclusion of SMTP in listed protocolsSteve Holme
2014-11-24SSL: Add PEM format support for public key pinningmoparisthebest
2014-11-20CURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS optionBrad Harder
2014-11-04opts-Makefile: put more man pages into dist and make hmtl+pdfDaniel Stenberg
2014-11-04opts: more multi options as stand-alone man pagesDaniel Stenberg
2014-11-03opts: made stand-alone man-pages for several multi optionsDaniel Stenberg
2014-11-02CURLOPT_XOAUTH2_BEARER.3: Corrected the OAuth version numberSteve Holme
2014-11-02CURLOPT_SASL_IR.3: Added supported mechanism informationSteve Holme
...and removed duplication of what protocols are supported from the description text.
2014-11-02opts: Use common wording for MAIL related namesSteve Holme
2014-11-02opts: Use common wording for TLS user/password option namesSteve Holme
...and revised the proxy wording a little as well.
2014-11-02CURLOPT_MAXCONNECTS.3: Reworked the description to be less confusingSteve Holme
...and corrected a related typo in curl_easy_setopt.3.
2014-10-31opts: Use common wording for user/password option namesSteve Holme
2014-10-31CURLOPT_CONNECT_ONLY.3: Removed "This option is implemented for..." textSteve Holme
As this is covered by the PROTOCOLS section and saves having to update two parts of the document with the same information in future.
2014-10-31CURLOPT_GSSAPI_DELEGATION.3: Use GSS-API rather than GSSAPISteve Holme
As implementations are refereed to GSS-API libraries as per the RFC and GSSAPI typically refers to an authentication mechanism.
2014-10-31CURLOPT_CONNECT_ONLY.3: Fixed incomplete protocol listSteve Holme
Added missing IMAP to the protocol list.
2014-10-30CURLOPT_PINNEDPUBLICKEY.3: added detailsDaniel Stenberg
2014-10-30CURLOPT_CUSTOMREQUEST.3: Fixed incomplete protocol listSteve Holme
Whilst the description included information about SMTP, the protocol list only showed "TTP, FTP, IMAP, POP3".
2014-10-30CURLOPT_DIRLISTONLY.3: Added information about the usage in POP3Steve Holme
2014-10-29opts: added some "SEE ALSO" referencesDaniel Stenberg
2014-10-24SSL: Remove SSLv3 from SSL default due to POODLE attackJay Satiro
- Remove SSLv3 from SSL default in darwinssl, schannel, cyassl, nss, openssl effectively making the default TLS 1.x. axTLS is not affected since it supports only TLS, and gnutls is not affected since it already defaults to TLS 1.x. - Update CURLOPT_SSLVERSION doc
2014-10-23CURLOPT_RESOLVE.3: add an exampleDaniel Stenberg
2014-10-21opts: provide more and updated examplesDaniel Stenberg
2014-10-21CURLOPT_RANGE.3: works for SFTP as wellDaniel Stenberg
... and added a small example
2014-10-21CURLOPT_SSLVERSION.3: provide an exampleDaniel Stenberg
2014-10-21docs: edited lots of libcurl docs for clarityDaniel Stenberg
2014-10-21opts: added examplesDaniel Stenberg
2014-10-14CURLOPT_TLSAUTH_*.3: fix reference typosDaniel Stenberg
2014-10-13vtls: remove QsoSSLPatrick Monnerat
2014-10-07SSL: implement public key pinningmoparisthebest
Option --pinnedpubkey takes a path to a public key in DER format and only connect if it matches (currently only implemented with OpenSSL). Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt(). Extract a public RSA key from a website like so: openssl s_client -connect google.com:443 2>&1 < /dev/null | \ sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \ | openssl rsa -pubin -outform DER > google.com.der
2014-10-03CURLOPT_HTTPHEADER.3: libcurl doesn't copy the whole listDaniel Stenberg
2014-09-25CURLOPT_COOKIELIST: Added "RELOAD" commandYousuke Kimoto
2014-09-25CURLOPT_POSTREDIR.3: Added availability for CURL_REDIR_POST_303Michael Wallner
2014-09-18CURLOPT_COOKIE*: added more cross-referencesDaniel Stenberg
2014-09-03CURLOPT_CA*: better refering between *CAINFO and *CAPATHDaniel Stenberg
... and a minor wording edit
2014-08-28CURLOPT_NOBODY.3: clarify this option is for downloadsDaniel Stenberg
When enabling CURLOPT_NOBODY, libcurl effectively switches off upload mode and will do a download (without a body). This is now better explained in this man page. Bug: http://curl.haxx.se/mail/lib-2014-08/0236.html Reported-by: John Coffey
2014-08-16docs: Escaped single backslashSteve Holme
2014-08-16CURLOPT_USERNAME.3: Added Kerberos V5 and NTLM domain informationSteve Holme
This repeats what has already been documented in both the curl manpage and CURLOPT_USERPWD documentation but is provided here for completeness as someone may not especially read the latter when using libcurl.
2014-08-16CURLOPT_USERPWD.3: Updated following Kerberos V5 SSPI changesSteve Holme
Added information about Kerberos V5 requiring the domain part in the user name. Mentioned that the user name can be specified in UPN format, and not just in Down-Level Logon Name format, following the information added in commit 7679cb3fa8 reworking the exisitng information in the process.
2014-08-09docs: Update SPNEGO and GSS-API related doc sectionsMichael Osipov
Reflect recent changes in SPNEGO and GSS-API code in the docs. Update them with appropriate namings and remove visible spots for GSS-Negotiate.
2014-08-02CURLOPT_SSL_VERIFYPEER.3. add a warning about disabling itDaniel Stenberg
2014-07-31CURLOPT_HEADEROPT.3: typo: do -> toMichael Wallner
2014-07-30opts: fixed some typosDan Fandrich
2014-07-19CURLOPT_CHUNK_BGN_FUNCTION: fix typoAlessandro Ghedini
2014-07-10CURLOPT_UPLOAD: Corrected argument typeSteve Holme