- Dec 05, 2014
-
-
Guenter Knauf authored
-
- Dec 04, 2014
-
-
Peter Wu authored
Mark CURLOPT_UNIX_SOCKET_PATH as string to ensure that it ends up as option in the file generated by --libcurl. Signed-off-by:
Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
Signed-off-by:
Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
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>
-
- Dec 01, 2014
-
-
Guenter Knauf authored
-
- Nov 30, 2014
-
-
Steve Holme authored
As local files could be accessed through \\localhost\c$.
-
Bill Nagel authored
This patch enables SMB/CIFS support in the curl command-line tool.
-
- Nov 24, 2014
-
-
Travis Burtrum authored
-
- Nov 19, 2014
-
-
Guenter Knauf authored
Moved target autodetection block after defining CC macro.
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Nov 18, 2014
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Nov 15, 2014
-
-
Steve Holme authored
Although libcurl would never return CURL_VERSION_KERBEROS4 after 7.33, so would not be output with --version, removed krb4 from the supported features output.
-
Michael Osipov authored
-
- Nov 08, 2014
-
-
Steve Holme authored
-
- Nov 07, 2014
-
-
Steve Holme authored
-
- Nov 05, 2014
-
-
Daniel Stenberg authored
... not the lib/ one that the tool no longer uses!
-
Daniel Stenberg authored
When duplicating a handle, the data to post was duplicated using strdup() when it could be binary and contain zeroes and it was not even zero terminated! This caused read out of bounds crashes/segfaults. Since the lib/strdup.c file no longer is easily shared with the curl tool with this change, it now uses its own version instead. Bug: http://curl.haxx.se/docs/adv_20141105.html CVE: CVE-2014-3707 Reported-By: Symeon Paraschoudis
-
- Oct 29, 2014
-
-
Guenter Knauf authored
-
- Oct 26, 2014
-
-
Daniel Stenberg authored
It has not been used since commit f7bfdbab in 2011
-
- Oct 24, 2014
-
-
Guenter Knauf authored
-
- Oct 12, 2014
-
-
Peter Wu authored
Rather than always outputting an empty manual page for the '-M' option, generate a full manual page as done by autotools. For simplicity in CMake, always generate the gzipped page as it will not be used anyway when zlib is not available. Signed-off-by:
Peter Wu <peter@lekensteyn.nl>
-
- Oct 09, 2014
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Change 987a4a73 assumes that as it simplifies life in the calling function. Reported-by: Fabian Keil
-
Jakub Zakrzewski authored
There is no need for such function. Include_directories propagate by themselves and having a function with one simple link statement makes little sense.
-
- Oct 08, 2014
-
-
Daniel Stenberg authored
Coverity CID 1241948. dumpeasysrc() would get called with config->current set to NULL which could be dereferenced by a warnf() call.
-
Daniel Stenberg authored
Coverity CID 1243583. get_url_file_name() cannot fail and return a NULL file name pointer so skip the check for that - it tricks coverity into believing it can happen and it then warns later on when we use 'outfile' without checking for NULL.
-
- Oct 07, 2014
-
-
Travis Burtrum authored
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
-
Daniel Stenberg authored
Coverity CID 1154198. This NULL check implies that the pointer _can_ be NULL at this point, which it can't. Thus it is dead code. It tricks static analyzers to warn about dereferencing the pointer since the code seems to imply it can be NULL.
-
- Oct 06, 2014
-
-
Daniel Stenberg authored
Coverity CID 1222080.
-
- Oct 04, 2014
-
-
Daniel Stenberg authored
Coverity CID 1061126. 'parse' will always be non-NULL here.
-
Daniel Stenberg authored
Coverity CID 1061118. Point out that it is on purpose.
-
- Aug 19, 2014
-
-
Daniel Stenberg authored
Should've been amended in the previous commit but wasn't due to a mistake.
-
Zearin authored
... and some other cleanups
-
- Aug 10, 2014
-
-
Steve Holme authored
Added copyright due to warning from checksrc.pl.
-
- Aug 08, 2014
-
-
Steve Holme authored
warning: `orig_opt' might be used uninitialized in this function
-
- Jul 22, 2014
-
-
Michael Osipov authored
-
Michael Osipov authored
- Replace CURLAUTH_GSSNEGOTIATE with CURLAUTH_NEGOTIATE - CURL_VERSION_GSSNEGOTIATE is deprecated which is served by CURL_VERSION_SSPI, CURL_VERSION_GSSAPI and CURUL_VERSION_SPNEGO now. - Remove display of feature 'GSS-Negotiate'
-
Michael Osipov authored
-