Compare commits
33 Commits
curl-7_47_
...
curl-7_47_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f995e2e00 | ||
|
|
d572d2664d | ||
|
|
b97307047c | ||
|
|
d6a8869ea3 | ||
|
|
1ca54daf3e | ||
|
|
9e7fcd4291 | ||
|
|
c71b6a2795 | ||
|
|
6f702ebaa2 | ||
|
|
86d3d62f5a | ||
|
|
a6208704e7 | ||
|
|
9b6598ed08 | ||
|
|
4520534e6d | ||
|
|
d49881cb19 | ||
|
|
742deff4dd | ||
|
|
20dcd19501 | ||
|
|
0515e49b6b | ||
|
|
42f725fb9b | ||
|
|
b4f595bde4 | ||
|
|
093f9cd38d | ||
|
|
493f54c6c0 | ||
|
|
4af40b3646 | ||
|
|
d33dd0b195 | ||
|
|
41ae9f717a | ||
|
|
6b485c7407 | ||
|
|
7a8a7ca7b0 | ||
|
|
2b6dadc52d | ||
|
|
96596334c8 | ||
|
|
bdb465274f | ||
|
|
300718382f | ||
|
|
a8135f0768 | ||
|
|
91460b2b8a | ||
|
|
1597af51b1 | ||
|
|
e400a89b18 |
2
CHANGES
2
CHANGES
@@ -1,4 +1,4 @@
|
|||||||
See http://curl.haxx.se/changes.html for the edited and human readable online
|
See https://curl.haxx.se/changes.html for the edited and human readable online
|
||||||
version of what has changed over the years in different curl releases.
|
version of what has changed over the years in different curl releases.
|
||||||
|
|
||||||
Generate a CHANGES file like the one present in evey release like this:
|
Generate a CHANGES file like the one present in evey release like this:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -64,7 +64,7 @@ message(STATUS "curl version=[${CURL_VERSION}]")
|
|||||||
# SET(PACKAGE_NAME "curl")
|
# SET(PACKAGE_NAME "curl")
|
||||||
# SET(PACKAGE_VERSION "-")
|
# SET(PACKAGE_VERSION "-")
|
||||||
# SET(PACKAGE_STRING "curl-")
|
# SET(PACKAGE_STRING "curl-")
|
||||||
# SET(PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/")
|
# SET(PACKAGE_BUGREPORT "a suitable curl mailing list => https://curl.haxx.se/mail/")
|
||||||
set(OPERATING_SYSTEM "${CMAKE_SYSTEM_NAME}")
|
set(OPERATING_SYSTEM "${CMAKE_SYSTEM_NAME}")
|
||||||
set(OS "\"${CMAKE_SYSTEM_NAME}\"")
|
set(OS "\"${CMAKE_SYSTEM_NAME}\"")
|
||||||
|
|
||||||
@@ -122,11 +122,6 @@ endif()
|
|||||||
option(CURL_HIDDEN_SYMBOLS "Set to ON to hide libcurl internal symbols (=hide all symbols that aren't officially external)." ON)
|
option(CURL_HIDDEN_SYMBOLS "Set to ON to hide libcurl internal symbols (=hide all symbols that aren't officially external)." ON)
|
||||||
mark_as_advanced(CURL_HIDDEN_SYMBOLS)
|
mark_as_advanced(CURL_HIDDEN_SYMBOLS)
|
||||||
|
|
||||||
IF(WIN32)
|
|
||||||
OPTION(CURL_WINDOWS_SSPI "Use windows libraries to allow NTLM authentication without openssl" ON)
|
|
||||||
MARK_AS_ADVANCED(CURL_WINDOWS_SSPI)
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
option(HTTP_ONLY "disables all protocols except HTTP (This overrides all CURL_DISABLE_* options)" OFF)
|
option(HTTP_ONLY "disables all protocols except HTTP (This overrides all CURL_DISABLE_* options)" OFF)
|
||||||
mark_as_advanced(HTTP_ONLY)
|
mark_as_advanced(HTTP_ONLY)
|
||||||
option(CURL_DISABLE_FTP "disables FTP" OFF)
|
option(CURL_DISABLE_FTP "disables FTP" OFF)
|
||||||
@@ -253,6 +248,7 @@ include (CheckLibraryExists)
|
|||||||
include (CheckSymbolExists)
|
include (CheckSymbolExists)
|
||||||
include (CheckTypeSize)
|
include (CheckTypeSize)
|
||||||
include (CheckCSourceCompiles)
|
include (CheckCSourceCompiles)
|
||||||
|
include (CMakeDependentOption)
|
||||||
|
|
||||||
# On windows preload settings
|
# On windows preload settings
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
@@ -290,14 +286,22 @@ endif(NOT NOT_NEED_LIBNSL)
|
|||||||
|
|
||||||
check_function_exists(gethostname HAVE_GETHOSTNAME)
|
check_function_exists(gethostname HAVE_GETHOSTNAME)
|
||||||
|
|
||||||
|
set(OPENSSL_DEFAULT ON)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
set(OPENSSL_DEFAULT OFF)
|
||||||
check_library_exists_concat("ws2_32" getch HAVE_LIBWS2_32)
|
check_library_exists_concat("ws2_32" getch HAVE_LIBWS2_32)
|
||||||
check_library_exists_concat("winmm" getch HAVE_LIBWINMM)
|
check_library_exists_concat("winmm" getch HAVE_LIBWINMM)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(CMAKE_USE_OPENSSL "Use OpenSSL code. Experimental" ON)
|
option(CMAKE_USE_OPENSSL "Use OpenSSL code. Experimental" ${OPENSSL_DEFAULT})
|
||||||
mark_as_advanced(CMAKE_USE_OPENSSL)
|
mark_as_advanced(CMAKE_USE_OPENSSL)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
CMAKE_DEPENDENT_OPTION(CURL_WINDOWS_SSPI "Use windows libraries to allow NTLM authentication without openssl" ON
|
||||||
|
"NOT CMAKE_USE_OPENSSL" OFF)
|
||||||
|
mark_as_advanced(CURL_WINDOWS_SSPI)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(USE_OPENSSL OFF)
|
set(USE_OPENSSL OFF)
|
||||||
set(HAVE_LIBCRYPTO OFF)
|
set(HAVE_LIBCRYPTO OFF)
|
||||||
set(HAVE_LIBSSL OFF)
|
set(HAVE_LIBSSL OFF)
|
||||||
@@ -320,6 +324,8 @@ if(CMAKE_USE_OPENSSL)
|
|||||||
check_include_file("openssl/ssl.h" HAVE_OPENSSL_SSL_H)
|
check_include_file("openssl/ssl.h" HAVE_OPENSSL_SSL_H)
|
||||||
check_include_file("openssl/x509.h" HAVE_OPENSSL_X509_H)
|
check_include_file("openssl/x509.h" HAVE_OPENSSL_X509_H)
|
||||||
check_include_file("openssl/rand.h" HAVE_OPENSSL_RAND_H)
|
check_include_file("openssl/rand.h" HAVE_OPENSSL_RAND_H)
|
||||||
|
elseif(WIN32)
|
||||||
|
set(CURL_WINDOWS_SSPI ON)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -1055,7 +1061,8 @@ endfunction()
|
|||||||
|
|
||||||
# Clear list and try to detect available features
|
# Clear list and try to detect available features
|
||||||
set(_items)
|
set(_items)
|
||||||
_add_if("SSL" SSL_ENABLED)
|
_add_if("WinSSL" SSL_ENABLED AND USE_WINDOWS_SSPI)
|
||||||
|
_add_if("OpenSSL" SSL_ENABLED AND USE_OPENSSL)
|
||||||
_add_if("IPv6" ENABLE_IPV6)
|
_add_if("IPv6" ENABLE_IPV6)
|
||||||
_add_if("unix-sockets" USE_UNIX_SOCKETS)
|
_add_if("unix-sockets" USE_UNIX_SOCKETS)
|
||||||
_add_if("libz" HAVE_LIBZ)
|
_add_if("libz" HAVE_LIBZ)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Join the community
|
|||||||
|
|
||||||
1. Click 'watch' on the github repo
|
1. Click 'watch' on the github repo
|
||||||
|
|
||||||
2. Subscribe to the suitable [mailing lists](http://curl.haxx.se/mail/)
|
2. Subscribe to the suitable [mailing lists](https://curl.haxx.se/mail/)
|
||||||
|
|
||||||
Read [docs/CONTRIBUTE](docs/CONTRIBUTE)
|
Read [docs/CONTRIBUTE](docs/CONTRIBUTE)
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
@@ -19,7 +19,7 @@ Send your suggestions using one of these methods:
|
|||||||
2. as a pull request on github
|
2. as a pull request on github
|
||||||
|
|
||||||
3. as an issue on github
|
3. as an issue on github
|
||||||
|
|
||||||
|
|
||||||
/ The cURL team!
|
/ The cURL team!
|
||||||
|
|
||||||
|
|||||||
3
COPYING
3
COPYING
@@ -1,6 +1,7 @@
|
|||||||
COPYRIGHT AND PERMISSION NOTICE
|
COPYRIGHT AND PERMISSION NOTICE
|
||||||
|
|
||||||
Copyright (c) 1996 - 2016, Daniel Stenberg, <daniel@haxx.se>.
|
Copyright (c) 1996 - 2016, Daniel Stenberg, <daniel@haxx.se>, and many
|
||||||
|
contributors, see the THANKS file.
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
6
README
6
README
@@ -24,7 +24,7 @@ README
|
|||||||
CONTACT
|
CONTACT
|
||||||
|
|
||||||
If you have problems, questions, ideas or suggestions, please contact us
|
If you have problems, questions, ideas or suggestions, please contact us
|
||||||
by posting to a suitable mailing list. See http://curl.haxx.se/mail/
|
by posting to a suitable mailing list. See https://curl.haxx.se/mail/
|
||||||
|
|
||||||
All contributors to the project are listed in the THANKS document.
|
All contributors to the project are listed in the THANKS document.
|
||||||
|
|
||||||
@@ -32,13 +32,13 @@ WEB SITE
|
|||||||
|
|
||||||
Visit the curl web site for the latest news and downloads:
|
Visit the curl web site for the latest news and downloads:
|
||||||
|
|
||||||
http://curl.haxx.se/
|
https://curl.haxx.se/
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
|
|
||||||
To download the very latest source off the GIT server do this:
|
To download the very latest source off the GIT server do this:
|
||||||
|
|
||||||
git clone https://github.com/bagder/curl.git
|
git clone https://github.com/curl/curl.git
|
||||||
|
|
||||||
(you'll get a directory named curl created, filled with the source code)
|
(you'll get a directory named curl created, filled with the source code)
|
||||||
|
|
||||||
|
|||||||
138
RELEASE-NOTES
138
RELEASE-NOTES
@@ -1,128 +1,48 @@
|
|||||||
Curl and libcurl 7.47.0
|
Curl and libcurl 7.47.1
|
||||||
|
|
||||||
Public curl releases: 151
|
Public curl releases: 152
|
||||||
Command line options: 179
|
Command line options: 179
|
||||||
curl_easy_setopt() options: 221
|
curl_easy_setopt() options: 221
|
||||||
Public functions in libcurl: 61
|
Public functions in libcurl: 61
|
||||||
Contributors: 1340
|
Contributors: 1346
|
||||||
|
|
||||||
This release includes the following changes:
|
|
||||||
|
|
||||||
o version: Add flag CURL_VERSION_PSL for libpsl
|
|
||||||
o http: added CURL_HTTP_VERSION_2TLS to do HTTP/2 for HTTPS only [8]
|
|
||||||
o curl: use 2TLS by default
|
|
||||||
o curl --expect100-timeout: added [10]
|
|
||||||
o Add .dir-locals and set c-basic-offset to 2 (for emacs) [16]
|
|
||||||
|
|
||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
o curl: avoid local drive traversal when saving file on Windows [33]
|
o getredirect.c: fix variable name
|
||||||
o NTLM: do not resuse proxy connections without diff proxy credentials [34]
|
o tool_doswin: silence unused function warning [1]
|
||||||
o tests: Disable the OAUTHBEARER tests when using a non-default port number [1]
|
o cmake: fixed when OpenSSL enabled on Windows and schannel detected [2]
|
||||||
o curl: remove keepalive #ifdef checks done on libcurl's behalf
|
o curl.1: Explain remote-name behavior if file already exists
|
||||||
o formdata: Check if length is too large for memory [2]
|
o tool_operate: Don't sanitize --output path (Windows) [3]
|
||||||
o lwip: Fix compatibility issues with later versions [3]
|
o URLs: change all http:// URLs to https:// in documentation & comments
|
||||||
o openssl: BoringSSL doesn't have CONF_modules_free
|
o sasl_sspi: Fix memory leak in domain populate [4]
|
||||||
o config-win32: Fix warning HAVE_WINSOCK2_H undefined
|
o COPYING: clarify that Daniel is not the sole author
|
||||||
o build: fix compilation error with CURL_DISABLE_VERBOSE_STRINGS [4]
|
o examples/htmltitle: Use _stricmp on Windows [5]
|
||||||
o http2: Fix hanging paused stream [5]
|
o examples/asiohiper: Avoid function name collision on Windows [6]
|
||||||
o scripts/Makefile: fix GNUism and survive no perl [6]
|
o idn_win32: Better error checking [7]
|
||||||
o openssl: adapt to 1.1.0+ name changes
|
o openssl: Fix signed/unsigned mismatch warning in X509V3_ext [8]
|
||||||
o openssl: adapt to openssl >= 1.1.0 X509 opaque structs [7]
|
o curl save files: check for backslashes on cygwin [9]
|
||||||
o HTTP2.md: spell fix and remove TODO now implemented
|
|
||||||
o setstropt: const-correctness [9]
|
|
||||||
o cyassl: fix compiler warning on type conversion
|
|
||||||
o gskit: Fix host subject altname verification [11]
|
|
||||||
o http2: Support trailer fields [12]
|
|
||||||
o wolfssl: handle builds without SSLv3 support
|
|
||||||
o cyassl: deal with lack of *get_peer_certificate [13]
|
|
||||||
o sockfilt: do not wait on unreliable file or pipe handle
|
|
||||||
o make: build zsh script even in an out-of-tree build
|
|
||||||
o test 1326: fix getting stuck on Windows
|
|
||||||
o test 87: fix file check on Windows
|
|
||||||
o configure: allow static builds on mingw [14]
|
|
||||||
o configure: detect IPv6 support on Windows [15]
|
|
||||||
o ConnectionExists: with *PIPEWAIT, wait for connections [17]
|
|
||||||
o Makefile.inc: s/curl_SOURCES/CURL_FILES [18]
|
|
||||||
o test 16: fixed for Windows
|
|
||||||
o test 252-255: use datacheck mode text for ASCII-mode LISTings
|
|
||||||
o tftpd server: add Windows support by writing files in binary mode
|
|
||||||
o ftplistparser: fix handling of file LISTings using Windows EOL
|
|
||||||
o tests first.c: fix calculation of sleep timeout on Windows
|
|
||||||
o tests (several): use datacheck mode text for ASCII-mode LISTings
|
|
||||||
o CURLOPT_RANGE.3: for HTTP servers, range support is optional
|
|
||||||
o test 1515: add MSYS support by passing a relative path
|
|
||||||
o curl_global_init.3: Add Windows-specific info for init via DLL [19]
|
|
||||||
o http2: Fix client write for trailers on stream close [20]
|
|
||||||
o mbedtls: Fix ALPN support
|
|
||||||
o connection reuse: IDN host names fixed [21]
|
|
||||||
o http2: Fix PUSH_PROMISE headers being treated as trailers [22]
|
|
||||||
o http2: handle the received SETTINGS frame [23]
|
|
||||||
o http2: Ensure that http2_handle_stream_close is called [24]
|
|
||||||
o mbedtls: implement CURLOPT_PINNEDPUBLICKEY
|
|
||||||
o runtests: Add mbedTLS to the SSL backends
|
|
||||||
o IDN host names: Remove the port number before converting to ACE [25]
|
|
||||||
o zsh.pl: fail if no curl is found
|
|
||||||
o scripts: fix zsh completion generation
|
|
||||||
o scripts: don't generate and install zsh completion when cross-compiling [26]
|
|
||||||
o lib: Prefix URLs with lower-case protocol names/schemes [27]
|
|
||||||
o ConnectionExists: only do pipelining/multiplexing when asked [28]
|
|
||||||
o configure: assume IPv6 works when cross-compiled [29]
|
|
||||||
o openssl: for 1.1.0+ they now provide a SSLeay() macro of their own
|
|
||||||
o openssl: improved error detection/reporting
|
|
||||||
o ssh: CURLOPT_SSH_PUBLIC_KEYFILE now treats "" as NULL again [30]
|
|
||||||
o mbedtls: Fix pinned key return value on fail [31]
|
|
||||||
o maketgz: generate date stamp with LC_TIME=C [32]
|
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
o see docs/KNOWN_BUGS (http://curl.haxx.se/docs/knownbugs.html)
|
o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html)
|
||||||
|
|
||||||
This release would not have looked like this without help, code, reports and
|
This release would not have looked like this without help, code, reports and
|
||||||
advice from friends like these:
|
advice from friends like these:
|
||||||
|
|
||||||
Alessandro Ghedini, Anders Bakken, Christian Stewart, Dan Fandrich,
|
Bernard Spil, Dan Fandrich, Daniel Stenberg, Gisle Vanem, Michael Kaufmann,
|
||||||
Daniel Schauenberg, Daniel Stenberg, Francisco Moraes, Gisle Vanem,
|
Octavio Schroeder, Ray Satiro, Sergei Nikulov, Viktor Szakáts,
|
||||||
Isaac Boukris, Johannes Schindelin, John Kohl, Kamil Dudka, Marc Hoersken,
|
(9 contributors)
|
||||||
Michael Kaufmann, Mohammad AlSaleh, Patrick Monnerat, Ray Satiro, Steve Holme,
|
|
||||||
Tatsuhiro Tsujikawa, Thomas Glanzmann, Thomas Klausner,
|
|
||||||
(21 contributors)
|
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
|
||||||
References to bug reports and discussions on issues:
|
References to bug reports and discussions on issues:
|
||||||
|
|
||||||
[1] = http://curl.haxx.se/mail/lib-2015-12/0003.html
|
[1] = https://github.com/curl/curl/pull/616
|
||||||
[2] = https://github.com/bagder/curl/issues/425#issuecomment-154518679
|
[2] = https://curl.haxx.se/bug/?i=617
|
||||||
[3] = http://curl.haxx.se/mail/lib-2015-12/0023.html
|
[3] = https://curl.haxx.se/bug/?i=624
|
||||||
[4] = http://curl.haxx.se/bug/?i=558
|
[4] = https://github.com/curl/curl/issues/635
|
||||||
[5] = http://curl.haxx.se/mail/lib-2015-11/0103.html
|
[5] = https://curl.haxx.se/mail/lib-2016-02/0017.html
|
||||||
[6] = http://curl.haxx.se/bug/?i=555
|
[6] = https://curl.haxx.se/mail/lib-2016-02/0016.html
|
||||||
[7] = http://curl.haxx.se/bug/?i=491
|
[7] = https://github.com/curl/curl/pull/637
|
||||||
[8] = http://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html
|
[8] = https://github.com/curl/curl/commit/dd1b44c#commitcomment-15913896
|
||||||
[9] = http://curl.haxx.se/bug/?i=565
|
[9] = https://curl.haxx.se/docs/adv_20160127B.html
|
||||||
[10] = http://curl.haxx.se/docs/manpage.html#--expect100-timeout
|
|
||||||
[11] = http://curl.haxx.se/mail/lib-2015-12/0062.html
|
|
||||||
[12] = http://curl.haxx.se/bug/?i=564
|
|
||||||
[13] = http://curl.haxx.se/bug/?i=565
|
|
||||||
[14] = https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-curl
|
|
||||||
[15] = https://github.com/Alexpux/MINGW-packages/commit/9253d0bf58a1486e91f7efb5316e7fdb48fa4007
|
|
||||||
[16] = http://curl.haxx.se/bug/?i=574
|
|
||||||
[17] = http://curl.haxx.se/bug/?i=575
|
|
||||||
[18] = http://curl.haxx.se/bug/?i=577
|
|
||||||
[19] = http://curl.haxx.se/bug/?i=586
|
|
||||||
[20] = http://curl.haxx.se/bug/?i=564
|
|
||||||
[21] = http://curl.haxx.se/bug/?i=592
|
|
||||||
[22] = http://curl.haxx.se/bug/?i=564
|
|
||||||
[23] = http://curl.haxx.se/mail/lib-2016-01/0031.html
|
|
||||||
[24] = http://curl.haxx.se/bug/?i=564
|
|
||||||
[25] = http://curl.haxx.se/bug/?i=596
|
|
||||||
[26] = http://curl.haxx.se/bug/?i=582
|
|
||||||
[27] = http://curl.haxx.se/bug/?i=597
|
|
||||||
[28] = http://curl.haxx.se/bug/?i=584
|
|
||||||
[29] = http://curl.haxx.se/bug/?i=594
|
|
||||||
[30] = http://curl.haxx.se/mail/lib-2016-01/0072.html
|
|
||||||
[31] = http://curl.haxx.se/bug/?i=601
|
|
||||||
[32] = http://curl.haxx.se/mail/lib-2016-01/0123.html
|
|
||||||
[33] = http://curl.haxx.se/docs/adv_20160127B.html
|
|
||||||
[34] = http://curl.haxx.se/docs/adv_20160127A.html
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
20
appveyor.yml
20
appveyor.yml
@@ -1,19 +1,35 @@
|
|||||||
version: 7.45.0.{build}
|
version: 7.47.0.{build}
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- PRJ_GEN: "Visual Studio 11 2012 Win64"
|
- PRJ_GEN: "Visual Studio 11 2012 Win64"
|
||||||
BDIR: msvc2012
|
BDIR: msvc2012
|
||||||
PRJ_CFG: Release
|
PRJ_CFG: Release
|
||||||
|
OPENSSL: OFF
|
||||||
- PRJ_GEN: "Visual Studio 12 2013 Win64"
|
- PRJ_GEN: "Visual Studio 12 2013 Win64"
|
||||||
BDIR: msvc2013
|
BDIR: msvc2013
|
||||||
PRJ_CFG: Release
|
PRJ_CFG: Release
|
||||||
|
OPENSSL: OFF
|
||||||
- PRJ_GEN: "Visual Studio 14 2015 Win64"
|
- PRJ_GEN: "Visual Studio 14 2015 Win64"
|
||||||
BDIR: msvc2015
|
BDIR: msvc2015
|
||||||
PRJ_CFG: Release
|
PRJ_CFG: Release
|
||||||
|
OPENSSL: OFF
|
||||||
|
- PRJ_GEN: "Visual Studio 11 2012 Win64"
|
||||||
|
BDIR: msvc2012
|
||||||
|
PRJ_CFG: Release
|
||||||
|
OPENSSL: ON
|
||||||
|
- PRJ_GEN: "Visual Studio 12 2013 Win64"
|
||||||
|
BDIR: msvc2013
|
||||||
|
PRJ_CFG: Release
|
||||||
|
OPENSSL: ON
|
||||||
|
- PRJ_GEN: "Visual Studio 14 2015 Win64"
|
||||||
|
BDIR: msvc2015
|
||||||
|
PRJ_CFG: Release
|
||||||
|
OPENSSL: ON
|
||||||
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- mkdir build.%BDIR%
|
- mkdir build.%BDIR%
|
||||||
- cd build.%BDIR%
|
- cd build.%BDIR%
|
||||||
- cmake .. -G"%PRJ_GEN%"
|
- cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL%
|
||||||
- cmake --build . --config %PRJ_CFG% --clean-first
|
- cmake --build . --config %PRJ_CFG% --clean-first
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ rem * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|||||||
rem *
|
rem *
|
||||||
rem * This software is licensed as described in the file COPYING, which
|
rem * This software is licensed as described in the file COPYING, which
|
||||||
rem * you should have received as part of this distribution. The terms
|
rem * you should have received as part of this distribution. The terms
|
||||||
rem * are also available at http://curl.haxx.se/docs/copyright.html.
|
rem * are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
rem *
|
rem *
|
||||||
rem * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
rem * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
rem * copies of the Software, and permit persons to whom the Software is
|
rem * copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -24,14 +24,14 @@ dnl Process this file with autoconf to produce a configure script.
|
|||||||
AC_PREREQ(2.57)
|
AC_PREREQ(2.57)
|
||||||
|
|
||||||
dnl We don't know the version number "statically" so we use a dash here
|
dnl We don't know the version number "statically" so we use a dash here
|
||||||
AC_INIT([curl], [-], [a suitable curl mailing list: http://curl.haxx.se/mail/])
|
AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.haxx.se/mail/])
|
||||||
|
|
||||||
XC_OVR_ZZ50
|
XC_OVR_ZZ50
|
||||||
XC_OVR_ZZ60
|
XC_OVR_ZZ60
|
||||||
CURL_OVERRIDE_AUTOCONF
|
CURL_OVERRIDE_AUTOCONF
|
||||||
|
|
||||||
dnl configure script copyright
|
dnl configure script copyright
|
||||||
AC_COPYRIGHT([Copyright (c) 1998 - 2014 Daniel Stenberg, <daniel@haxx.se>
|
AC_COPYRIGHT([Copyright (c) 1998 - 2016 Daniel Stenberg, <daniel@haxx.se>
|
||||||
This configure script may be copied, distributed and modified under the
|
This configure script may be copied, distributed and modified under the
|
||||||
terms of the curl license; see COPYING for more details])
|
terms of the curl license; see COPYING for more details])
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Basic
|
|||||||
|
|
||||||
C
|
C
|
||||||
libcurl is a C library in itself!
|
libcurl is a C library in itself!
|
||||||
http://curl.haxx.se/libcurl/
|
https://curl.haxx.se/libcurl/
|
||||||
|
|
||||||
C++
|
C++
|
||||||
|
|
||||||
@@ -184,7 +184,7 @@ Rexx
|
|||||||
RPG
|
RPG
|
||||||
|
|
||||||
Support for ILE/RPG on OS/400 is included in source distribution
|
Support for ILE/RPG on OS/400 is included in source distribution
|
||||||
http://curl.haxx.se/libcurl/
|
https://curl.haxx.se/libcurl/
|
||||||
See packages/OS400/README.OS400 and packages/OS400/curl.inc.in
|
See packages/OS400/README.OS400 and packages/OS400/curl.inc.in
|
||||||
|
|
||||||
Ruby
|
Ruby
|
||||||
|
|||||||
@@ -35,12 +35,12 @@ BUGS
|
|||||||
have a go at a solution. You can optionally also post your bug/problem at
|
have a go at a solution. You can optionally also post your bug/problem at
|
||||||
curl's bug tracking system over at
|
curl's bug tracking system over at
|
||||||
|
|
||||||
https://github.com/bagder/curl/issues
|
https://github.com/curl/curl/issues
|
||||||
|
|
||||||
Please read the rest of this document below first before doing that!
|
Please read the rest of this document below first before doing that!
|
||||||
|
|
||||||
If you feel you need to ask around first, find a suitable mailing list and
|
If you feel you need to ask around first, find a suitable mailing list and
|
||||||
post there. The lists are available on http://curl.haxx.se/mail/
|
post there. The lists are available on https://curl.haxx.se/mail/
|
||||||
|
|
||||||
1.3 What to report
|
1.3 What to report
|
||||||
|
|
||||||
|
|||||||
@@ -42,13 +42,13 @@
|
|||||||
|
|
||||||
1.1 Join the Community
|
1.1 Join the Community
|
||||||
|
|
||||||
Skip over to http://curl.haxx.se/mail/ and join the appropriate mailing
|
Skip over to https://curl.haxx.se/mail/ and join the appropriate mailing
|
||||||
list(s). Read up on details before you post questions. Read this file before
|
list(s). Read up on details before you post questions. Read this file before
|
||||||
you start sending patches! We prefer patches and discussions being held on
|
you start sending patches! We prefer patches and discussions being held on
|
||||||
the mailing list(s), not sent to individuals.
|
the mailing list(s), not sent to individuals.
|
||||||
|
|
||||||
Before posting to one of the curl mailing lists, please read up on the mailing
|
Before posting to one of the curl mailing lists, please read up on the mailing
|
||||||
list etiquette: http://curl.haxx.se/mail/etiquette.html
|
list etiquette: https://curl.haxx.se/mail/etiquette.html
|
||||||
|
|
||||||
We also hang out on IRC in #curl on irc.freenode.net
|
We also hang out on IRC in #curl on irc.freenode.net
|
||||||
|
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
|
|
||||||
You need to first checkout the repository:
|
You need to first checkout the repository:
|
||||||
|
|
||||||
git clone https://github.com/bagder/curl.git
|
git clone https://github.com/curl/curl.git
|
||||||
|
|
||||||
You then proceed and edit all the files you like and you commit them to your
|
You then proceed and edit all the files you like and you commit them to your
|
||||||
local repository:
|
local repository:
|
||||||
|
|||||||
24
docs/FAQ
24
docs/FAQ
@@ -226,7 +226,7 @@ FAQ
|
|||||||
considerable time already on maintaining and developing curl. In order to
|
considerable time already on maintaining and developing curl. In order to
|
||||||
get more out of us, you should consider trading in some of your time and
|
get more out of us, you should consider trading in some of your time and
|
||||||
efforts in return. Simply go to the GitHub repo which resides at
|
efforts in return. Simply go to the GitHub repo which resides at
|
||||||
https://github.com/bagder/curl, fork the project, and create pull requests
|
https://github.com/curl/curl, fork the project, and create pull requests
|
||||||
with your proposed changes.
|
with your proposed changes.
|
||||||
|
|
||||||
If you write the code, chances are bigger that it will get into curl faster.
|
If you write the code, chances are bigger that it will get into curl faster.
|
||||||
@@ -254,7 +254,7 @@ FAQ
|
|||||||
We still get help from companies. Haxx provides web site, bandwidth, mailing
|
We still get help from companies. Haxx provides web site, bandwidth, mailing
|
||||||
lists etc, sourceforge.net hosts project services we take advantage from,
|
lists etc, sourceforge.net hosts project services we take advantage from,
|
||||||
like the bug tracker, and GitHub hosts the primary git repository at
|
like the bug tracker, and GitHub hosts the primary git repository at
|
||||||
https://github.com/bagder/curl. Also again, some companies have sponsored
|
https://github.com/curl/curl. Also again, some companies have sponsored
|
||||||
certain parts of the development in the past and I hope some will continue to
|
certain parts of the development in the past and I hope some will continue to
|
||||||
do so in the future.
|
do so in the future.
|
||||||
|
|
||||||
@@ -281,7 +281,7 @@ FAQ
|
|||||||
Please do not mail any single individual unless you really need to. Keep
|
Please do not mail any single individual unless you really need to. Keep
|
||||||
curl-related questions on a suitable mailing list. All available mailing
|
curl-related questions on a suitable mailing list. All available mailing
|
||||||
lists are listed in the MANUAL document and online at
|
lists are listed in the MANUAL document and online at
|
||||||
http://curl.haxx.se/mail/
|
https://curl.haxx.se/mail/
|
||||||
|
|
||||||
Keeping curl-related questions and discussions on mailing lists allows
|
Keeping curl-related questions and discussions on mailing lists allows
|
||||||
others to join in and help, to share their ideas, contribute their
|
others to join in and help, to share their ideas, contribute their
|
||||||
@@ -302,7 +302,7 @@ FAQ
|
|||||||
your curl-related problems.
|
your curl-related problems.
|
||||||
|
|
||||||
We list available alternatives on the curl web site:
|
We list available alternatives on the curl web site:
|
||||||
http://curl.haxx.se/support.html
|
https://curl.haxx.se/support.html
|
||||||
|
|
||||||
1.10 How many are using curl?
|
1.10 How many are using curl?
|
||||||
|
|
||||||
@@ -319,7 +319,7 @@ FAQ
|
|||||||
In May 2012 Daniel did a counting game and came up with a number that may
|
In May 2012 Daniel did a counting game and came up with a number that may
|
||||||
be completely wrong or somewhat accurate. Over 500 million!
|
be completely wrong or somewhat accurate. Over 500 million!
|
||||||
|
|
||||||
See http://daniel.haxx.se/blog/2012/05/16/300m-users/
|
See https://daniel.haxx.se/blog/2012/05/16/300m-users/
|
||||||
|
|
||||||
1.11 Why don't you update ca-bundle.crt
|
1.11 Why don't you update ca-bundle.crt
|
||||||
|
|
||||||
@@ -341,7 +341,7 @@ FAQ
|
|||||||
If you want the most recent collection of ca certs that Mozilla Firefox
|
If you want the most recent collection of ca certs that Mozilla Firefox
|
||||||
uses, we recommend that you extract the collection yourself from Mozilla
|
uses, we recommend that you extract the collection yourself from Mozilla
|
||||||
Firefox (by running 'make ca-bundle), or by using our online service setup
|
Firefox (by running 'make ca-bundle), or by using our online service setup
|
||||||
for this purpose: http://curl.haxx.se/docs/caextract.html
|
for this purpose: https://curl.haxx.se/docs/caextract.html
|
||||||
|
|
||||||
1.12 I have a problem who can I chat with?
|
1.12 I have a problem who can I chat with?
|
||||||
|
|
||||||
@@ -449,7 +449,7 @@ FAQ
|
|||||||
GnuTLS, yassl, NSS, PolarSSL, axTLS, Secure Transport (native iOS/OS X),
|
GnuTLS, yassl, NSS, PolarSSL, axTLS, Secure Transport (native iOS/OS X),
|
||||||
WinSSL (native Windows) or GSKit (native IBM i). They all have their pros
|
WinSSL (native Windows) or GSKit (native IBM i). They all have their pros
|
||||||
and cons, and we try to maintain a comparison of them here:
|
and cons, and we try to maintain a comparison of them here:
|
||||||
http://curl.haxx.se/docs/ssl-compared.html
|
https://curl.haxx.se/docs/ssl-compared.html
|
||||||
|
|
||||||
2.3 Where can I find a copy of LIBEAY32.DLL?
|
2.3 Where can I find a copy of LIBEAY32.DLL?
|
||||||
|
|
||||||
@@ -561,7 +561,7 @@ FAQ
|
|||||||
|
|
||||||
Find out more about which languages that support curl directly, and how to
|
Find out more about which languages that support curl directly, and how to
|
||||||
install and use them, in the libcurl section of the curl web site:
|
install and use them, in the libcurl section of the curl web site:
|
||||||
http://curl.haxx.se/libcurl/
|
https://curl.haxx.se/libcurl/
|
||||||
|
|
||||||
All the various bindings to libcurl are made by other projects and people,
|
All the various bindings to libcurl are made by other projects and people,
|
||||||
outside of the cURL project. The cURL project itself only produces libcurl
|
outside of the cURL project. The cURL project itself only produces libcurl
|
||||||
@@ -694,7 +694,7 @@ FAQ
|
|||||||
certificate. Server certificate verification is enabled by default in curl
|
certificate. Server certificate verification is enabled by default in curl
|
||||||
and libcurl and is often the reason for problems as explained in FAQ entry
|
and libcurl and is often the reason for problems as explained in FAQ entry
|
||||||
4.12 and the SSLCERTS document
|
4.12 and the SSLCERTS document
|
||||||
(http://curl.haxx.se/docs/sslcerts.html). Server certificates that are
|
(https://curl.haxx.se/docs/sslcerts.html). Server certificates that are
|
||||||
"self-signed" or otherwise signed by a CA that you do not have a CA cert
|
"self-signed" or otherwise signed by a CA that you do not have a CA cert
|
||||||
for, cannot be verified. If the verification during a connect fails, you are
|
for, cannot be verified. If the verification during a connect fails, you are
|
||||||
refused access. You then need to explicitly disable the verification to
|
refused access. You then need to explicitly disable the verification to
|
||||||
@@ -985,7 +985,7 @@ FAQ
|
|||||||
this check.
|
this check.
|
||||||
|
|
||||||
Details are also in the SSLCERTS file in the release archives, found online
|
Details are also in the SSLCERTS file in the release archives, found online
|
||||||
here: http://curl.haxx.se/docs/sslcerts.html
|
here: https://curl.haxx.se/docs/sslcerts.html
|
||||||
|
|
||||||
4.13 Why is curl -R on Windows one hour off?
|
4.13 Why is curl -R on Windows one hour off?
|
||||||
|
|
||||||
@@ -1402,7 +1402,7 @@ FAQ
|
|||||||
to do "LIST -a" or similar to see them.
|
to do "LIST -a" or similar to see them.
|
||||||
|
|
||||||
The application thus needs to parse the LIST output. One such existing
|
The application thus needs to parse the LIST output. One such existing
|
||||||
list parser is available at http://cr.yp.to/ftpparse.html Versions of
|
list parser is available at https://cr.yp.to/ftpparse.html Versions of
|
||||||
libcurl since 7.21.0 also provide the ability to specify a wildcard to
|
libcurl since 7.21.0 also provide the ability to specify a wildcard to
|
||||||
download multiple files from one FTP directory.
|
download multiple files from one FTP directory.
|
||||||
|
|
||||||
@@ -1521,7 +1521,7 @@ FAQ
|
|||||||
notice" somewhere. Most probably like in the documentation or in the section
|
notice" somewhere. Most probably like in the documentation or in the section
|
||||||
where other third party dependencies already are mentioned and acknowledged.
|
where other third party dependencies already are mentioned and acknowledged.
|
||||||
|
|
||||||
As can be seen here: http://curl.haxx.se/docs/companies.html and elsewhere,
|
As can be seen here: https://curl.haxx.se/docs/companies.html and elsewhere,
|
||||||
more and more companies are discovering the power of libcurl and take
|
more and more companies are discovering the power of libcurl and take
|
||||||
advantage of it even in commercial environments.
|
advantage of it even in commercial environments.
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ OpenSSL took over where SSLeay was abandoned.
|
|||||||
May, first Debian package.
|
May, first Debian package.
|
||||||
|
|
||||||
August, LDAP:// and FILE:// support added. The curl web site gets 1300 visits
|
August, LDAP:// and FILE:// support added. The curl web site gets 1300 visits
|
||||||
weekly.
|
weekly. Moved site to curl.haxx.nu.
|
||||||
|
|
||||||
Released curl 6.0 in September. 15000 lines of code.
|
Released curl 6.0 in September. 15000 lines of code.
|
||||||
|
|
||||||
@@ -81,6 +81,8 @@ the easy interface and turned out to be the beginning of actually getting
|
|||||||
other software and programs to get based on and powered by libcurl. Almost
|
other software and programs to get based on and powered by libcurl. Almost
|
||||||
20000 lines of code.
|
20000 lines of code.
|
||||||
|
|
||||||
|
June 2000: the curl site moves to "curl.haxx.se"
|
||||||
|
|
||||||
August, the curl web site gets 4000 visits weekly.
|
August, the curl web site gets 4000 visits weekly.
|
||||||
|
|
||||||
The PHP guys adopted libcurl already the same month, when the first ever third
|
The PHP guys adopted libcurl already the same month, when the first ever third
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Updated: July 3, 2012 (http://curl.haxx.se/docs/http-cookies.html)
|
Updated: July 3, 2012 (https://curl.haxx.se/docs/http-cookies.html)
|
||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
@@ -34,7 +34,7 @@ HTTP Cookies
|
|||||||
servers with the Cookie: header.
|
servers with the Cookie: header.
|
||||||
|
|
||||||
For a very long time, the only spec explaining how to use cookies was the
|
For a very long time, the only spec explaining how to use cookies was the
|
||||||
original Netscape spec from 1994: http://curl.haxx.se/rfc/cookie_spec.html
|
original Netscape spec from 1994: https://curl.haxx.se/rfc/cookie_spec.html
|
||||||
|
|
||||||
In 2011, RFC6265 (https://www.ietf.org/rfc/rfc6265.txt) was finally published
|
In 2011, RFC6265 (https://www.ietf.org/rfc/rfc6265.txt) was finally published
|
||||||
and details how cookies work within HTTP.
|
and details how cookies work within HTTP.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ HTTP/2 with curl
|
|||||||
================
|
================
|
||||||
|
|
||||||
[HTTP/2 Spec](https://www.rfc-editor.org/rfc/rfc7540.txt)
|
[HTTP/2 Spec](https://www.rfc-editor.org/rfc/rfc7540.txt)
|
||||||
[http2 explained](http://daniel.haxx.se/http2/)
|
[http2 explained](https://daniel.haxx.se/http2/)
|
||||||
|
|
||||||
Build prerequisites
|
Build prerequisites
|
||||||
-------------------
|
-------------------
|
||||||
|
|||||||
@@ -706,7 +706,7 @@ NetWare
|
|||||||
Builds automatically created 8 times a day from current git are here:
|
Builds automatically created 8 times a day from current git are here:
|
||||||
http://www.gknw.net/mirror/curl/autobuilds/
|
http://www.gknw.net/mirror/curl/autobuilds/
|
||||||
the status of these builds can be viewed at the autobuild table:
|
the status of these builds can be viewed at the autobuild table:
|
||||||
http://curl.haxx.se/dev/builds.html
|
https://curl.haxx.se/dev/builds.html
|
||||||
|
|
||||||
eCos
|
eCos
|
||||||
====
|
====
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ SSL Files
|
|||||||
openssl-0.9.7e-win32-bin.zip for the minimalist package of the openssl-0.9.7e
|
openssl-0.9.7e-win32-bin.zip for the minimalist package of the openssl-0.9.7e
|
||||||
binaries ported to MS Windows 95/98/NT/XP using the MingW32/GCC-3.1
|
binaries ported to MS Windows 95/98/NT/XP using the MingW32/GCC-3.1
|
||||||
development environment. The file may be downloaded at
|
development environment. The file may be downloaded at
|
||||||
http://curl.haxx.se/download/.
|
https://curl.haxx.se/download/.
|
||||||
|
|
||||||
2- Open the above zip file. You will find two files - SDL.dll,
|
2- Open the above zip file. You will find two files - SDL.dll,
|
||||||
SDL_mixer.dll. Install them in the directory C:\WINDOWS\SYSTEM32 for Win 9x
|
SDL_mixer.dll. Install them in the directory C:\WINDOWS\SYSTEM32 for Win 9x
|
||||||
|
|||||||
@@ -1079,17 +1079,17 @@ for older and later versions as things don't change drastically that often.
|
|||||||
the share API.
|
the share API.
|
||||||
|
|
||||||
|
|
||||||
[1]: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
|
[1]: https://curl.haxx.se/libcurl/c/curl_easy_setopt.html
|
||||||
[2]: http://curl.haxx.se/libcurl/c/curl_easy_init.html
|
[2]: https://curl.haxx.se/libcurl/c/curl_easy_init.html
|
||||||
[3]: http://c-ares.haxx.se/
|
[3]: http://c-ares.haxx.se/
|
||||||
[4]: https://tools.ietf.org/html/rfc7230 "RFC 7230"
|
[4]: https://tools.ietf.org/html/rfc7230 "RFC 7230"
|
||||||
[5]: http://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html
|
[5]: https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html
|
||||||
[6]: http://curl.haxx.se/docs/manpage.html#--compressed
|
[6]: https://curl.haxx.se/docs/manpage.html#--compressed
|
||||||
[7]: http://curl.haxx.se/libcurl/c/curl_multi_socket_action.html
|
[7]: https://curl.haxx.se/libcurl/c/curl_multi_socket_action.html
|
||||||
[8]: http://curl.haxx.se/libcurl/c/curl_multi_timeout.html
|
[8]: https://curl.haxx.se/libcurl/c/curl_multi_timeout.html
|
||||||
[9]: http://curl.haxx.se/libcurl/c/curl_multi_setopt.html
|
[9]: https://curl.haxx.se/libcurl/c/curl_multi_setopt.html
|
||||||
[10]: http://curl.haxx.se/libcurl/c/CURLMOPT_TIMERFUNCTION.html
|
[10]: https://curl.haxx.se/libcurl/c/CURLMOPT_TIMERFUNCTION.html
|
||||||
[11]: http://curl.haxx.se/libcurl/c/curl_multi_perform.html
|
[11]: https://curl.haxx.se/libcurl/c/curl_multi_perform.html
|
||||||
[12]: http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
|
[12]: https://curl.haxx.se/libcurl/c/curl_multi_fdset.html
|
||||||
[13]: http://curl.haxx.se/libcurl/c/curl_multi_add_handle.html
|
[13]: https://curl.haxx.se/libcurl/c/curl_multi_add_handle.html
|
||||||
[14]: http://curl.haxx.se/libcurl/c/curl_multi_info_read.html
|
[14]: https://curl.haxx.se/libcurl/c/curl_multi_info_read.html
|
||||||
|
|||||||
@@ -4,16 +4,16 @@ changelog of the current development status, as one or more of these problems
|
|||||||
may have been fixed since this was written!
|
may have been fixed since this was written!
|
||||||
|
|
||||||
91. "curl_easy_perform hangs with imap and PolarSSL"
|
91. "curl_easy_perform hangs with imap and PolarSSL"
|
||||||
https://github.com/bagder/curl/issues/334
|
https://github.com/curl/curl/issues/334
|
||||||
|
|
||||||
90. IMAP "SEARCH ALL" truncates output on large boxes. "A quick search of the
|
90. IMAP "SEARCH ALL" truncates output on large boxes. "A quick search of the
|
||||||
code reveals that pingpong.c contains some truncation code, at line 408,
|
code reveals that pingpong.c contains some truncation code, at line 408,
|
||||||
when it deems the server response to be too large truncating it to 40
|
when it deems the server response to be too large truncating it to 40
|
||||||
characters"
|
characters"
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1366
|
https://curl.haxx.se/bug/view.cgi?id=1366
|
||||||
|
|
||||||
89. Disabling HTTP Pipelining when there are ongoing transfers can lead to
|
89. Disabling HTTP Pipelining when there are ongoing transfers can lead to
|
||||||
heap corruption and crash. http://curl.haxx.se/bug/view.cgi?id=1411
|
heap corruption and crash. https://curl.haxx.se/bug/view.cgi?id=1411
|
||||||
|
|
||||||
88. libcurl doesn't support CURLINFO_FILETIME for SFTP transfers and thus
|
88. libcurl doesn't support CURLINFO_FILETIME for SFTP transfers and thus
|
||||||
curl's -R option also doesn't work then.
|
curl's -R option also doesn't work then.
|
||||||
@@ -24,7 +24,7 @@ may have been fixed since this was written!
|
|||||||
mention that decoding also means that we need to check for nastiness that is
|
mention that decoding also means that we need to check for nastiness that is
|
||||||
attempted, like "../" sequences and the like. Probably everything to the left
|
attempted, like "../" sequences and the like. Probably everything to the left
|
||||||
of any embedded slashes should be cut off.
|
of any embedded slashes should be cut off.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1294
|
https://curl.haxx.se/bug/view.cgi?id=1294
|
||||||
|
|
||||||
86. The disconnect commands (LOGOUT and QUIT) may not be sent by IMAP, POP3
|
86. The disconnect commands (LOGOUT and QUIT) may not be sent by IMAP, POP3
|
||||||
and SMTP if a failure occurs during the authentication phase of a
|
and SMTP if a failure occurs during the authentication phase of a
|
||||||
@@ -35,8 +35,8 @@ may have been fixed since this was written!
|
|||||||
CURLINFO_STARTTRANSFER_TIME is wrong. While using POST
|
CURLINFO_STARTTRANSFER_TIME is wrong. While using POST
|
||||||
CURLINFO_STARTTRANSFER_TIME minus CURLINFO_PRETRANSFER_TIME is near to zero
|
CURLINFO_STARTTRANSFER_TIME minus CURLINFO_PRETRANSFER_TIME is near to zero
|
||||||
every time.
|
every time.
|
||||||
https://github.com/bagder/curl/issues/218
|
https://github.com/curl/curl/issues/218
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1213
|
https://curl.haxx.se/bug/view.cgi?id=1213
|
||||||
|
|
||||||
84. CURLINFO_SSL_VERIFYRESULT is only implemented for the OpenSSL and NSS
|
84. CURLINFO_SSL_VERIFYRESULT is only implemented for the OpenSSL and NSS
|
||||||
backends, so relying on this information in a generic app is flaky.
|
backends, so relying on this information in a generic app is flaky.
|
||||||
@@ -44,48 +44,48 @@ may have been fixed since this was written!
|
|||||||
82. When building with the Windows Borland compiler, it fails because the
|
82. When building with the Windows Borland compiler, it fails because the
|
||||||
"tlib" tool doesn't support hyphens (minus signs) in file names and we have
|
"tlib" tool doesn't support hyphens (minus signs) in file names and we have
|
||||||
such in the build.
|
such in the build.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1222
|
https://curl.haxx.se/bug/view.cgi?id=1222
|
||||||
|
|
||||||
81. When using -J (with -O), automatically resumed downloading together with
|
81. When using -J (with -O), automatically resumed downloading together with
|
||||||
"-C -" fails. Without -J the same command line works! This happens because
|
"-C -" fails. Without -J the same command line works! This happens because
|
||||||
the resume logic is worked out before the target file name (and thus its
|
the resume logic is worked out before the target file name (and thus its
|
||||||
pre-transfer size) has been figured out!
|
pre-transfer size) has been figured out!
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1169
|
https://curl.haxx.se/bug/view.cgi?id=1169
|
||||||
|
|
||||||
80. Curl doesn't recognize certificates in DER format in keychain, but it
|
80. Curl doesn't recognize certificates in DER format in keychain, but it
|
||||||
works with PEM.
|
works with PEM.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1065
|
https://curl.haxx.se/bug/view.cgi?id=1065
|
||||||
|
|
||||||
79. SMTP. When sending data to multiple recipients, curl will abort and return
|
79. SMTP. When sending data to multiple recipients, curl will abort and return
|
||||||
failure if one of the recipients indicate failure (on the "RCPT TO"
|
failure if one of the recipients indicate failure (on the "RCPT TO"
|
||||||
command). Ordinary mail programs would proceed and still send to the ones
|
command). Ordinary mail programs would proceed and still send to the ones
|
||||||
that can receive data. This is subject for change in the future.
|
that can receive data. This is subject for change in the future.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1116
|
https://curl.haxx.se/bug/view.cgi?id=1116
|
||||||
|
|
||||||
75. NTLM authentication involving unicode user name or password only works
|
75. NTLM authentication involving unicode user name or password only works
|
||||||
properly if built with UNICODE defined together with the WinSSL/schannel
|
properly if built with UNICODE defined together with the WinSSL/schannel
|
||||||
backend. The original problem was mentioned in:
|
backend. The original problem was mentioned in:
|
||||||
http://curl.haxx.se/mail/lib-2009-10/0024.html
|
https://curl.haxx.se/mail/lib-2009-10/0024.html
|
||||||
http://curl.haxx.se/bug/view.cgi?id=896
|
https://curl.haxx.se/bug/view.cgi?id=896
|
||||||
|
|
||||||
The WinSSL/schannel version verified to work as mentioned in
|
The WinSSL/schannel version verified to work as mentioned in
|
||||||
http://curl.haxx.se/mail/lib-2012-07/0073.html
|
https://curl.haxx.se/mail/lib-2012-07/0073.html
|
||||||
|
|
||||||
73. if a connection is made to a FTP server but the server then just never
|
73. if a connection is made to a FTP server but the server then just never
|
||||||
sends the 220 response or otherwise is dead slow, libcurl will not
|
sends the 220 response or otherwise is dead slow, libcurl will not
|
||||||
acknowledge the connection timeout during that phase but only the "real"
|
acknowledge the connection timeout during that phase but only the "real"
|
||||||
timeout - which may surprise users as it is probably considered to be the
|
timeout - which may surprise users as it is probably considered to be the
|
||||||
connect phase to most people. Brought up (and is being misunderstood) in:
|
connect phase to most people. Brought up (and is being misunderstood) in:
|
||||||
http://curl.haxx.se/bug/view.cgi?id=856
|
https://curl.haxx.se/bug/view.cgi?id=856
|
||||||
|
|
||||||
72. "Pausing pipeline problems."
|
72. "Pausing pipeline problems."
|
||||||
http://curl.haxx.se/mail/lib-2009-07/0214.html
|
https://curl.haxx.se/mail/lib-2009-07/0214.html
|
||||||
|
|
||||||
70. Problem re-using easy handle after call to curl_multi_remove_handle
|
70. Problem re-using easy handle after call to curl_multi_remove_handle
|
||||||
http://curl.haxx.se/mail/lib-2009-07/0249.html
|
https://curl.haxx.se/mail/lib-2009-07/0249.html
|
||||||
|
|
||||||
68. "More questions about ares behavior".
|
68. "More questions about ares behavior".
|
||||||
http://curl.haxx.se/mail/lib-2009-08/0012.html
|
https://curl.haxx.se/mail/lib-2009-08/0012.html
|
||||||
|
|
||||||
67. When creating multipart formposts. The file name part can be encoded with
|
67. When creating multipart formposts. The file name part can be encoded with
|
||||||
something beyond ascii but currently libcurl will only pass in the verbatim
|
something beyond ascii but currently libcurl will only pass in the verbatim
|
||||||
@@ -94,7 +94,7 @@ may have been fixed since this was written!
|
|||||||
https://tools.ietf.org/html/draft-reschke-rfc2231-in-http-02
|
https://tools.ietf.org/html/draft-reschke-rfc2231-in-http-02
|
||||||
|
|
||||||
66. When using telnet, the time limitation options don't work.
|
66. When using telnet, the time limitation options don't work.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=846
|
https://curl.haxx.se/bug/view.cgi?id=846
|
||||||
|
|
||||||
65. When doing FTP over a socks proxy or CONNECT through HTTP proxy and the
|
65. When doing FTP over a socks proxy or CONNECT through HTTP proxy and the
|
||||||
multi interface is used, libcurl will fail if the (passive) TCP connection
|
multi interface is used, libcurl will fail if the (passive) TCP connection
|
||||||
@@ -105,27 +105,27 @@ may have been fixed since this was written!
|
|||||||
63. When CURLOPT_CONNECT_ONLY is used, the handle cannot reliably be re-used
|
63. When CURLOPT_CONNECT_ONLY is used, the handle cannot reliably be re-used
|
||||||
for any further requests or transfers. The work-around is then to close that
|
for any further requests or transfers. The work-around is then to close that
|
||||||
handle with curl_easy_cleanup() and create a new. Some more details:
|
handle with curl_easy_cleanup() and create a new. Some more details:
|
||||||
http://curl.haxx.se/mail/lib-2009-04/0300.html
|
https://curl.haxx.se/mail/lib-2009-04/0300.html
|
||||||
|
|
||||||
61. If an upload using Expect: 100-continue receives an HTTP 417 response,
|
61. If an upload using Expect: 100-continue receives an HTTP 417 response,
|
||||||
it ought to be automatically resent without the Expect:. A workaround is
|
it ought to be automatically resent without the Expect:. A workaround is
|
||||||
for the client application to redo the transfer after disabling Expect:.
|
for the client application to redo the transfer after disabling Expect:.
|
||||||
http://curl.haxx.se/mail/archive-2008-02/0043.html
|
https://curl.haxx.se/mail/archive-2008-02/0043.html
|
||||||
|
|
||||||
60. libcurl closes the connection if an HTTP 401 reply is received while it
|
60. libcurl closes the connection if an HTTP 401 reply is received while it
|
||||||
is waiting for the the 100-continue response.
|
is waiting for the the 100-continue response.
|
||||||
http://curl.haxx.se/mail/lib-2008-08/0462.html
|
https://curl.haxx.se/mail/lib-2008-08/0462.html
|
||||||
|
|
||||||
58. It seems sensible to be able to use CURLOPT_NOBODY and
|
58. It seems sensible to be able to use CURLOPT_NOBODY and
|
||||||
CURLOPT_FAILONERROR with FTP to detect if a file exists or not, but it is
|
CURLOPT_FAILONERROR with FTP to detect if a file exists or not, but it is
|
||||||
not working: http://curl.haxx.se/mail/lib-2008-07/0295.html
|
not working: https://curl.haxx.se/mail/lib-2008-07/0295.html
|
||||||
|
|
||||||
56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP
|
56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP
|
||||||
server using the multi interface, the commands are not being sent correctly
|
server using the multi interface, the commands are not being sent correctly
|
||||||
and instead the connection is "cancelled" (the operation is considered done)
|
and instead the connection is "cancelled" (the operation is considered done)
|
||||||
prematurely. There is a half-baked (busy-looping) patch provided in the bug
|
prematurely. There is a half-baked (busy-looping) patch provided in the bug
|
||||||
report but it cannot be accepted as-is. See
|
report but it cannot be accepted as-is. See
|
||||||
http://curl.haxx.se/bug/view.cgi?id=748
|
https://curl.haxx.se/bug/view.cgi?id=748
|
||||||
|
|
||||||
55. libcurl fails to build with MIT Kerberos for Windows (KfW) due to KfW's
|
55. libcurl fails to build with MIT Kerberos for Windows (KfW) due to KfW's
|
||||||
library header files exporting symbols/macros that should be kept private
|
library header files exporting symbols/macros that should be kept private
|
||||||
@@ -134,13 +134,13 @@ may have been fixed since this was written!
|
|||||||
52. Gautam Kachroo's issue that identifies a problem with the multi interface
|
52. Gautam Kachroo's issue that identifies a problem with the multi interface
|
||||||
where a connection can be re-used without actually being properly
|
where a connection can be re-used without actually being properly
|
||||||
SSL-negotiated:
|
SSL-negotiated:
|
||||||
http://curl.haxx.se/mail/lib-2008-01/0277.html
|
https://curl.haxx.se/mail/lib-2008-01/0277.html
|
||||||
|
|
||||||
49. If using --retry and the transfer timeouts (possibly due to using -m or
|
49. If using --retry and the transfer timeouts (possibly due to using -m or
|
||||||
-y/-Y) the next attempt doesn't resume the transfer properly from what was
|
-y/-Y) the next attempt doesn't resume the transfer properly from what was
|
||||||
downloaded in the previous attempt but will truncate and restart at the
|
downloaded in the previous attempt but will truncate and restart at the
|
||||||
original position where it was at before the previous failed attempt. See
|
original position where it was at before the previous failed attempt. See
|
||||||
http://curl.haxx.se/mail/lib-2008-01/0080.html and Mandriva bug report
|
https://curl.haxx.se/mail/lib-2008-01/0080.html and Mandriva bug report
|
||||||
https://qa.mandriva.com/show_bug.cgi?id=22565
|
https://qa.mandriva.com/show_bug.cgi?id=22565
|
||||||
|
|
||||||
48. If a CONNECT response-headers are larger than BUFSIZE (16KB) when the
|
48. If a CONNECT response-headers are larger than BUFSIZE (16KB) when the
|
||||||
@@ -149,25 +149,25 @@ may have been fixed since this was written!
|
|||||||
protocol code. This should be very rare.
|
protocol code. This should be very rare.
|
||||||
|
|
||||||
43. There seems to be a problem when connecting to the Microsoft telnet server.
|
43. There seems to be a problem when connecting to the Microsoft telnet server.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=649
|
https://curl.haxx.se/bug/view.cgi?id=649
|
||||||
|
|
||||||
41. When doing an operation over FTP that requires the ACCT command (but not
|
41. When doing an operation over FTP that requires the ACCT command (but not
|
||||||
when logging in), the operation will fail since libcurl doesn't detect this
|
when logging in), the operation will fail since libcurl doesn't detect this
|
||||||
and thus fails to issue the correct command:
|
and thus fails to issue the correct command:
|
||||||
http://curl.haxx.se/bug/view.cgi?id=635
|
https://curl.haxx.se/bug/view.cgi?id=635
|
||||||
|
|
||||||
39. Steffen Rumler's Race Condition in Curl_proxyCONNECT:
|
39. Steffen Rumler's Race Condition in Curl_proxyCONNECT:
|
||||||
http://curl.haxx.se/mail/lib-2007-01/0045.html
|
https://curl.haxx.se/mail/lib-2007-01/0045.html
|
||||||
|
|
||||||
38. Kumar Swamy Bhatt's problem in ftp/ssl "LIST" operation:
|
38. Kumar Swamy Bhatt's problem in ftp/ssl "LIST" operation:
|
||||||
http://curl.haxx.se/mail/lib-2007-01/0103.html
|
https://curl.haxx.se/mail/lib-2007-01/0103.html
|
||||||
|
|
||||||
35. Both SOCKS5 and SOCKS4 proxy connections are done blocking, which is very
|
35. Both SOCKS5 and SOCKS4 proxy connections are done blocking, which is very
|
||||||
bad when used with the multi interface.
|
bad when used with the multi interface.
|
||||||
|
|
||||||
34. The SOCKS4 connection codes don't properly acknowledge (connect) timeouts.
|
34. The SOCKS4 connection codes don't properly acknowledge (connect) timeouts.
|
||||||
Also see #12. According to bug #1556528, even the SOCKS5 connect code does
|
Also see #12. According to bug #1556528, even the SOCKS5 connect code does
|
||||||
not do it right: http://curl.haxx.se/bug/view.cgi?id=604
|
not do it right: https://curl.haxx.se/bug/view.cgi?id=604
|
||||||
|
|
||||||
31. "curl-config --libs" will include details set in LDFLAGS when configure is
|
31. "curl-config --libs" will include details set in LDFLAGS when configure is
|
||||||
run that might be needed only for building libcurl. Further, curl-config
|
run that might be needed only for building libcurl. Further, curl-config
|
||||||
@@ -175,7 +175,7 @@ may have been fixed since this was written!
|
|||||||
|
|
||||||
26. NTLM authentication using SSPI (on Windows) when (lib)curl is running in
|
26. NTLM authentication using SSPI (on Windows) when (lib)curl is running in
|
||||||
"system context" will make it use wrong(?) user name - at least when compared
|
"system context" will make it use wrong(?) user name - at least when compared
|
||||||
to what winhttp does. See http://curl.haxx.se/bug/view.cgi?id=535
|
to what winhttp does. See https://curl.haxx.se/bug/view.cgi?id=535
|
||||||
|
|
||||||
23. SOCKS-related problems:
|
23. SOCKS-related problems:
|
||||||
B) libcurl doesn't support FTPS over a SOCKS proxy.
|
B) libcurl doesn't support FTPS over a SOCKS proxy.
|
||||||
@@ -221,8 +221,8 @@ may have been fixed since this was written!
|
|||||||
10. To get HTTP Negotiate (SPNEGO) authentication to work fine, you need to
|
10. To get HTTP Negotiate (SPNEGO) authentication to work fine, you need to
|
||||||
provide a (fake) user name (this concerns both curl and the lib) because the
|
provide a (fake) user name (this concerns both curl and the lib) because the
|
||||||
code wrongly only considers authentication if there's a user name provided.
|
code wrongly only considers authentication if there's a user name provided.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=440 How?
|
https://curl.haxx.se/bug/view.cgi?id=440 How?
|
||||||
http://curl.haxx.se/mail/lib-2004-08/0182.html
|
https://curl.haxx.se/mail/lib-2004-08/0182.html
|
||||||
|
|
||||||
8. Doing resumed upload over HTTP does not work with '-C -', because curl
|
8. Doing resumed upload over HTTP does not work with '-C -', because curl
|
||||||
doesn't do a HEAD first to get the initial size. This needs to be done
|
doesn't do a HEAD first to get the initial size. This needs to be done
|
||||||
@@ -238,4 +238,4 @@ may have been fixed since this was written!
|
|||||||
5. libcurl doesn't treat the content-length of compressed data properly, as
|
5. libcurl doesn't treat the content-length of compressed data properly, as
|
||||||
it seems HTTP servers send the *uncompressed* length in that header and
|
it seems HTTP servers send the *uncompressed* length in that header and
|
||||||
libcurl thinks of it as the *compressed* length. Some explanations are here:
|
libcurl thinks of it as the *compressed* length. Some explanations are here:
|
||||||
http://curl.haxx.se/mail/lib-2003-06/0146.html
|
https://curl.haxx.se/mail/lib-2003-06/0146.html
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ accompany your license with an exception[2]. This particular problem was
|
|||||||
addressed when the Modified BSD license was created, which does not have the
|
addressed when the Modified BSD license was created, which does not have the
|
||||||
announcement clause that collides with GPL.
|
announcement clause that collides with GPL.
|
||||||
|
|
||||||
libcurl http://curl.haxx.se/docs/copyright.html
|
libcurl https://curl.haxx.se/docs/copyright.html
|
||||||
|
|
||||||
Uses an MIT (or Modified BSD)-style license that is as liberal as
|
Uses an MIT (or Modified BSD)-style license that is as liberal as
|
||||||
possible.
|
possible.
|
||||||
@@ -73,7 +73,7 @@ libressl http://www.libressl.org/
|
|||||||
(May be used for SSL/TLS support) As an OpenSSL fork, it has the same
|
(May be used for SSL/TLS support) As an OpenSSL fork, it has the same
|
||||||
license as that.
|
license as that.
|
||||||
|
|
||||||
c-ares http://daniel.haxx.se/projects/c-ares/license.html
|
c-ares https://daniel.haxx.se/projects/c-ares/license.html
|
||||||
|
|
||||||
(Used for asynchronous name resolves) Uses an MIT license that is very
|
(Used for asynchronous name resolves) Uses an MIT license that is very
|
||||||
liberal and imposes no restrictions on any other library or part you
|
liberal and imposes no restrictions on any other library or part you
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ MAIL ETIQUETTE
|
|||||||
1.1 Mailing Lists
|
1.1 Mailing Lists
|
||||||
|
|
||||||
The mailing lists we have are all listed and described at
|
The mailing lists we have are all listed and described at
|
||||||
http://curl.haxx.se/mail/
|
https://curl.haxx.se/mail/
|
||||||
|
|
||||||
Each mailing list is targeted to a specific set of users and subjects,
|
Each mailing list is targeted to a specific set of users and subjects,
|
||||||
please use the one or the ones that suit you the most.
|
please use the one or the ones that suit you the most.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ LATEST VERSION
|
|||||||
You always find news about what's going on as well as the latest versions
|
You always find news about what's going on as well as the latest versions
|
||||||
from the curl web pages, located at:
|
from the curl web pages, located at:
|
||||||
|
|
||||||
http://curl.haxx.se
|
https://curl.haxx.se
|
||||||
|
|
||||||
SIMPLE USAGE
|
SIMPLE USAGE
|
||||||
|
|
||||||
@@ -824,7 +824,7 @@ LDAP
|
|||||||
Working with LDAP URLs":
|
Working with LDAP URLs":
|
||||||
http://developer.netscape.com/docs/manuals/dirsdk/csdk30/url.htm
|
http://developer.netscape.com/docs/manuals/dirsdk/csdk30/url.htm
|
||||||
|
|
||||||
RFC 2255, "The LDAP URL Format" http://curl.haxx.se/rfc/rfc2255.txt
|
RFC 2255, "The LDAP URL Format" https://curl.haxx.se/rfc/rfc2255.txt
|
||||||
|
|
||||||
To show you an example, this is how I can get all people from my local LDAP
|
To show you an example, this is how I can get all people from my local LDAP
|
||||||
server that has a certain sub-domain in their email address:
|
server that has a certain sub-domain in their email address:
|
||||||
@@ -1011,7 +1011,7 @@ MAILING LISTS
|
|||||||
|
|
||||||
For your convenience, we have several open mailing lists to discuss curl,
|
For your convenience, we have several open mailing lists to discuss curl,
|
||||||
its development and things relevant to this. Get all info at
|
its development and things relevant to this. Get all info at
|
||||||
http://curl.haxx.se/mail/. Some of the lists available are:
|
https://curl.haxx.se/mail/. Some of the lists available are:
|
||||||
|
|
||||||
curl-users
|
curl-users
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ This document lists documents and standards used by curl.
|
|||||||
|
|
||||||
RFC 2109 - HTTP State Management Mechanism (cookie stuff)
|
RFC 2109 - HTTP State Management Mechanism (cookie stuff)
|
||||||
- Also, read Netscape's specification at
|
- Also, read Netscape's specification at
|
||||||
http://curl.haxx.se/rfc/cookie_spec.html
|
https://curl.haxx.se/rfc/cookie_spec.html
|
||||||
|
|
||||||
RFC 2183 - The Content-Disposition Header Field
|
RFC 2183 - The Content-Disposition Header Field
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Publishing Information
|
|||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
All known and public curl or libcurl related vulnerabilities are listed on
|
All known and public curl or libcurl related vulnerabilities are listed on
|
||||||
[the curl web site security page](http://curl.haxx.se/docs/security.html).
|
[the curl web site security page](https://curl.haxx.se/docs/security.html).
|
||||||
|
|
||||||
Security vulnerabilities should not be entered in the project's public bug
|
Security vulnerabilities should not be entered in the project's public bug
|
||||||
tracker unless the necessary configuration is in place to limit access to the
|
tracker unless the necessary configuration is in place to limit access to the
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ Ciphers
|
|||||||
References:
|
References:
|
||||||
|
|
||||||
https://tools.ietf.org/html/draft-popov-tls-prohibiting-rc4-01
|
https://tools.ietf.org/html/draft-popov-tls-prohibiting-rc4-01
|
||||||
|
|
||||||
Allow BEAST
|
Allow BEAST
|
||||||
|
|
||||||
BEAST is the name of a TLS 1.0 attack that surfaced 2011. When adding means
|
BEAST is the name of a TLS 1.0 attack that surfaced 2011. When adding means
|
||||||
@@ -84,4 +84,4 @@ Disabling certificate revocation checks
|
|||||||
|
|
||||||
References:
|
References:
|
||||||
|
|
||||||
http://curl.haxx.se/docs/ssl-compared.html
|
https://curl.haxx.se/docs/ssl-compared.html
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ server, do one of the following:
|
|||||||
5. Get a better/different/newer CA cert bundle! One option is to extract the
|
5. Get a better/different/newer CA cert bundle! One option is to extract the
|
||||||
one a recent Firefox browser uses by running 'make ca-bundle' in the curl
|
one a recent Firefox browser uses by running 'make ca-bundle' in the curl
|
||||||
build tree root, or possibly download a version that was generated this
|
build tree root, or possibly download a version that was generated this
|
||||||
way for you: [CA Extract](http://curl.haxx.se/docs/caextract.html)
|
way for you: [CA Extract](https://curl.haxx.se/docs/caextract.html)
|
||||||
|
|
||||||
Neglecting to use one of the above methods when dealing with a server using a
|
Neglecting to use one of the above methods when dealing with a server using a
|
||||||
certificate that isn't signed by one of the certificates in the installed CA
|
certificate that isn't signed by one of the certificates in the installed CA
|
||||||
|
|||||||
39
docs/TODO
39
docs/TODO
@@ -123,6 +123,7 @@
|
|||||||
17.8 offer color-coded HTTP header output
|
17.8 offer color-coded HTTP header output
|
||||||
17.9 Choose the name of file in braces for complex URLs
|
17.9 Choose the name of file in braces for complex URLs
|
||||||
17.10 improve how curl works in a windows console window
|
17.10 improve how curl works in a windows console window
|
||||||
|
17.11 -w output to stderr
|
||||||
|
|
||||||
18. Build
|
18. Build
|
||||||
18.1 roffit
|
18.1 roffit
|
||||||
@@ -172,7 +173,7 @@
|
|||||||
signal handler back into the library with a sigsetjmp, which effectively
|
signal handler back into the library with a sigsetjmp, which effectively
|
||||||
causes libcurl to continue running within the signal handler. This is
|
causes libcurl to continue running within the signal handler. This is
|
||||||
non-portable and could cause problems on some platforms. A discussion on the
|
non-portable and could cause problems on some platforms. A discussion on the
|
||||||
problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html
|
problem is available at https://curl.haxx.se/mail/lib-2008-09/0197.html
|
||||||
|
|
||||||
Also, alarm() provides timeout resolution only to the nearest second. alarm
|
Also, alarm() provides timeout resolution only to the nearest second. alarm
|
||||||
ought to be replaced by setitimer on systems that support it.
|
ought to be replaced by setitimer on systems that support it.
|
||||||
@@ -239,7 +240,7 @@
|
|||||||
would be the ones that link to 3rd party libs. That would allow us to avoid
|
would be the ones that link to 3rd party libs. That would allow us to avoid
|
||||||
having to load ALL dependencies since only the necessary ones for this
|
having to load ALL dependencies since only the necessary ones for this
|
||||||
app/invoke/used protocols would be necessary to load. See
|
app/invoke/used protocols would be necessary to load. See
|
||||||
https://github.com/bagder/curl/issues/349
|
https://github.com/curl/curl/issues/349
|
||||||
|
|
||||||
1.12 have form functions use CURL handle argument
|
1.12 have form functions use CURL handle argument
|
||||||
|
|
||||||
@@ -261,7 +262,7 @@
|
|||||||
hack ;-)
|
hack ;-)
|
||||||
|
|
||||||
Please see the following thread for more information:
|
Please see the following thread for more information:
|
||||||
http://curl.haxx.se/mail/lib-2012-05/0178.html
|
https://curl.haxx.se/mail/lib-2012-05/0178.html
|
||||||
|
|
||||||
1.14 Typesafe curl_easy_setopt()
|
1.14 Typesafe curl_easy_setopt()
|
||||||
|
|
||||||
@@ -292,7 +293,7 @@
|
|||||||
perhaps URL encoded byte values over 128 etc (basically do what the redirect
|
perhaps URL encoded byte values over 128 etc (basically do what the redirect
|
||||||
following code already does).
|
following code already does).
|
||||||
|
|
||||||
https://github.com/bagder/curl/issues/514
|
https://github.com/curl/curl/issues/514
|
||||||
|
|
||||||
2. libcurl - multi interface
|
2. libcurl - multi interface
|
||||||
|
|
||||||
@@ -355,7 +356,7 @@
|
|||||||
When trying to connect passively to a server which only supports active
|
When trying to connect passively to a server which only supports active
|
||||||
connections, libcurl returns CURLE_FTP_WEIRD_PASV_REPLY and closes the
|
connections, libcurl returns CURLE_FTP_WEIRD_PASV_REPLY and closes the
|
||||||
connection. There could be a way to fallback to an active connection (and
|
connection. There could be a way to fallback to an active connection (and
|
||||||
vice versa). http://curl.haxx.se/bug/feature.cgi?id=1754793
|
vice versa). https://curl.haxx.se/bug/feature.cgi?id=1754793
|
||||||
|
|
||||||
4.3 Earlier bad letter detection
|
4.3 Earlier bad letter detection
|
||||||
|
|
||||||
@@ -392,13 +393,13 @@ This is not detailed in any FTP specification.
|
|||||||
5.1 Better persistency for HTTP 1.0
|
5.1 Better persistency for HTTP 1.0
|
||||||
|
|
||||||
"Better" support for persistent connections over HTTP 1.0
|
"Better" support for persistent connections over HTTP 1.0
|
||||||
http://curl.haxx.se/bug/feature.cgi?id=1089001
|
https://curl.haxx.se/bug/feature.cgi?id=1089001
|
||||||
|
|
||||||
5.2 support FF3 sqlite cookie files
|
5.2 support FF3 sqlite cookie files
|
||||||
|
|
||||||
Firefox 3 is changing from its former format to a a sqlite database instead.
|
Firefox 3 is changing from its former format to a a sqlite database instead.
|
||||||
We should consider how (lib)curl can/should support this.
|
We should consider how (lib)curl can/should support this.
|
||||||
http://curl.haxx.se/bug/feature.cgi?id=1871388
|
https://curl.haxx.se/bug/feature.cgi?id=1871388
|
||||||
|
|
||||||
5.3 Rearrange request header order
|
5.3 Rearrange request header order
|
||||||
|
|
||||||
@@ -434,7 +435,7 @@ This is not detailed in any FTP specification.
|
|||||||
|
|
||||||
5.6 Refuse "downgrade" redirects
|
5.6 Refuse "downgrade" redirects
|
||||||
|
|
||||||
See https://github.com/bagder/curl/issues/226
|
See https://github.com/curl/curl/issues/226
|
||||||
|
|
||||||
Consider a way to tell curl to refuse to "downgrade" protocol with a redirect
|
Consider a way to tell curl to refuse to "downgrade" protocol with a redirect
|
||||||
and/or possibly a bit that refuses redirect to change protocol completely.
|
and/or possibly a bit that refuses redirect to change protocol completely.
|
||||||
@@ -543,7 +544,7 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
13.1 Disable specific versions
|
13.1 Disable specific versions
|
||||||
|
|
||||||
Provide an option that allows for disabling specific SSL versions, such as
|
Provide an option that allows for disabling specific SSL versions, such as
|
||||||
SSLv2 http://curl.haxx.se/bug/feature.cgi?id=1767276
|
SSLv2 https://curl.haxx.se/bug/feature.cgi?id=1767276
|
||||||
|
|
||||||
13.2 Provide mutex locking API
|
13.2 Provide mutex locking API
|
||||||
|
|
||||||
@@ -554,7 +555,7 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
13.3 Evaluate SSL patches
|
13.3 Evaluate SSL patches
|
||||||
|
|
||||||
Evaluate/apply Gertjan van Wingerde's SSL patches:
|
Evaluate/apply Gertjan van Wingerde's SSL patches:
|
||||||
http://curl.haxx.se/mail/lib-2004-03/0087.html
|
https://curl.haxx.se/mail/lib-2004-03/0087.html
|
||||||
|
|
||||||
13.4 Cache OpenSSL contexts
|
13.4 Cache OpenSSL contexts
|
||||||
|
|
||||||
@@ -592,9 +593,9 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
https://www.rfc-editor.org/rfc/rfc6698.txt
|
https://www.rfc-editor.org/rfc/rfc6698.txt
|
||||||
|
|
||||||
An initial patch was posted by Suresh Krishnaswamy on March 7th 2013
|
An initial patch was posted by Suresh Krishnaswamy on March 7th 2013
|
||||||
(http://curl.haxx.se/mail/lib-2013-03/0075.html) but it was a too simple
|
(https://curl.haxx.se/mail/lib-2013-03/0075.html) but it was a too simple
|
||||||
approach. See Daniel's comments:
|
approach. See Daniel's comments:
|
||||||
http://curl.haxx.se/mail/lib-2013-03/0103.html . libunbound may be the
|
https://curl.haxx.se/mail/lib-2013-03/0103.html . libunbound may be the
|
||||||
correct library to base this development on.
|
correct library to base this development on.
|
||||||
|
|
||||||
14. GnuTLS
|
14. GnuTLS
|
||||||
@@ -686,7 +687,7 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
The client could be told to use maximum N simultaneous parallel transfers and
|
The client could be told to use maximum N simultaneous parallel transfers and
|
||||||
then just make sure that happens. It should of course not make more than one
|
then just make sure that happens. It should of course not make more than one
|
||||||
connection to the same remote host. This would require the client to use the
|
connection to the same remote host. This would require the client to use the
|
||||||
multi interface. http://curl.haxx.se/bug/feature.cgi?id=1558595
|
multi interface. https://curl.haxx.se/bug/feature.cgi?id=1558595
|
||||||
|
|
||||||
17.5 provide formpost headers
|
17.5 provide formpost headers
|
||||||
|
|
||||||
@@ -729,13 +730,21 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
{partURL1:name1,partURL2:name2,partURL3:name3} where the name following the
|
{partURL1:name1,partURL2:name2,partURL3:name3} where the name following the
|
||||||
colon is the output name.
|
colon is the output name.
|
||||||
|
|
||||||
See https://github.com/bagder/curl/issues/221
|
See https://github.com/curl/curl/issues/221
|
||||||
|
|
||||||
17.10 improve how curl works in a windows console window
|
17.10 improve how curl works in a windows console window
|
||||||
|
|
||||||
If you pull the scrollbar when transferring with curl in a Windows console
|
If you pull the scrollbar when transferring with curl in a Windows console
|
||||||
window, the transfer is interrupted and can get disconnected. This can
|
window, the transfer is interrupted and can get disconnected. This can
|
||||||
probably be improved. See https://github.com/bagder/curl/issues/322
|
probably be improved. See https://github.com/curl/curl/issues/322
|
||||||
|
|
||||||
|
17.11 -w output to stderr
|
||||||
|
|
||||||
|
-w is quite useful, but not to those of us who use curl without -o or -O
|
||||||
|
(such as for scripting through a higher level language). It would be nice to
|
||||||
|
have an option that is exactly like -w but sends it to stderr
|
||||||
|
instead. Proposed name: --write-stderr. See
|
||||||
|
https://github.com/curl/curl/issues/613
|
||||||
|
|
||||||
|
|
||||||
18. Build
|
18. Build
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ The Art Of Scripting HTTP Requests Using Curl
|
|||||||
|
|
||||||
The Uniform Resource Locator format is how you specify the address of a
|
The Uniform Resource Locator format is how you specify the address of a
|
||||||
particular resource on the Internet. You know these, you've seen URLs like
|
particular resource on the Internet. You know these, you've seen URLs like
|
||||||
http://curl.haxx.se or https://yourbank.com a million times. RFC 3986 is the
|
https://curl.haxx.se or https://yourbank.com a million times. RFC 3986 is the
|
||||||
canonical spec. And yeah, the formal name is not URL, it is URI.
|
canonical spec. And yeah, the formal name is not URL, it is URI.
|
||||||
|
|
||||||
2.2 Host
|
2.2 Host
|
||||||
@@ -203,7 +203,7 @@ The Art Of Scripting HTTP Requests Using Curl
|
|||||||
issues a GET request to the server and receives the document it asked for.
|
issues a GET request to the server and receives the document it asked for.
|
||||||
If you issue the command line
|
If you issue the command line
|
||||||
|
|
||||||
curl http://curl.haxx.se
|
curl https://curl.haxx.se
|
||||||
|
|
||||||
you get a web page returned in your terminal window. The entire HTML document
|
you get a web page returned in your terminal window. The entire HTML document
|
||||||
that that URL holds.
|
that that URL holds.
|
||||||
@@ -628,7 +628,7 @@ The Art Of Scripting HTTP Requests Using Curl
|
|||||||
More about server certificate verification and ca cert bundles can be read
|
More about server certificate verification and ca cert bundles can be read
|
||||||
in the SSLCERTS document, available online here:
|
in the SSLCERTS document, available online here:
|
||||||
|
|
||||||
http://curl.haxx.se/docs/sslcerts.html
|
https://curl.haxx.se/docs/sslcerts.html
|
||||||
|
|
||||||
At times you may end up with your own CA cert store and then you can tell
|
At times you may end up with your own CA cert store and then you can tell
|
||||||
curl to use that to verify the server's certificate:
|
curl to use that to verify the server's certificate:
|
||||||
@@ -755,4 +755,4 @@ The Art Of Scripting HTTP Requests Using Curl
|
|||||||
|
|
||||||
14.2 Sites
|
14.2 Sites
|
||||||
|
|
||||||
http://curl.haxx.se is the home of the cURL project
|
https://curl.haxx.se is the home of the cURL project
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
.\" * are also available at http://curl.haxx.se/docs/copyright.html.
|
.\" * are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
.\" * copies of the Software, and permit persons to whom the Software is
|
.\" * copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
32
docs/curl.1
32
docs/curl.1
@@ -5,11 +5,11 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
.\" * are also available at http://curl.haxx.se/docs/copyright.html.
|
.\" * are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
.\" * copies of the Software, and permit persons to whom the Software is
|
.\" * copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -828,8 +828,17 @@ cookies when they're closed down.
|
|||||||
server-specified Content-Disposition filename instead of extracting a filename
|
server-specified Content-Disposition filename instead of extracting a filename
|
||||||
from the URL.
|
from the URL.
|
||||||
|
|
||||||
|
If the server specifies a file name and a file with that name already exists
|
||||||
|
in the current working directory it will not be overwritten and an error will
|
||||||
|
occur. If the server doesn't specify a file name then this option has no
|
||||||
|
effect.
|
||||||
|
|
||||||
There's no attempt to decode %-sequences (yet) in the provided file name, so
|
There's no attempt to decode %-sequences (yet) in the provided file name, so
|
||||||
this option may provide you with rather unexpected file names.
|
this option may provide you with rather unexpected file names.
|
||||||
|
|
||||||
|
\fBWARNING\fP: Exercise judicious use of this option, especially on Windows. A
|
||||||
|
rogue server could send you the name of a DLL or other file that could possibly
|
||||||
|
be loaded automatically by Windows or some third party software.
|
||||||
.IP "-k, --insecure"
|
.IP "-k, --insecure"
|
||||||
(SSL) This option explicitly allows curl to perform "insecure" SSL connections
|
(SSL) This option explicitly allows curl to perform "insecure" SSL connections
|
||||||
and transfers. All SSL connections are attempted to be made secure by using
|
and transfers. All SSL connections are attempted to be made secure by using
|
||||||
@@ -837,7 +846,7 @@ the CA certificate bundle installed by default. This makes all connections
|
|||||||
considered "insecure" fail unless \fI-k, --insecure\fP is used.
|
considered "insecure" fail unless \fI-k, --insecure\fP is used.
|
||||||
|
|
||||||
See this online resource for further details:
|
See this online resource for further details:
|
||||||
\fBhttp://curl.haxx.se/docs/sslcerts.html\fP
|
\fBhttps://curl.haxx.se/docs/sslcerts.html\fP
|
||||||
.IP "-K, --config <config file>"
|
.IP "-K, --config <config file>"
|
||||||
Specify which config file to read curl arguments from. The config file is a
|
Specify which config file to read curl arguments from. The config file is a
|
||||||
text file in which command line arguments can be written which then will be
|
text file in which command line arguments can be written which then will be
|
||||||
@@ -864,7 +873,7 @@ Note that to be able to specify a URL in the config file, you need to specify
|
|||||||
it using the \fI--url\fP option, and not by simply writing the URL on its own
|
it using the \fI--url\fP option, and not by simply writing the URL on its own
|
||||||
line. So, it could look similar to this:
|
line. So, it could look similar to this:
|
||||||
|
|
||||||
url = "http://curl.haxx.se/docs/"
|
url = "https://curl.haxx.se/docs/"
|
||||||
|
|
||||||
When curl is invoked, it always (unless \fI-q\fP is used) checks for a default
|
When curl is invoked, it always (unless \fI-q\fP is used) checks for a default
|
||||||
config file and uses it if found. The default config file is checked for in
|
config file and uses it if found. The default config file is checked for in
|
||||||
@@ -1190,12 +1199,15 @@ output to be done to stdout.
|
|||||||
Write output to a local file named like the remote file we get. (Only the file
|
Write output to a local file named like the remote file we get. (Only the file
|
||||||
part of the remote file is used, the path is cut off.)
|
part of the remote file is used, the path is cut off.)
|
||||||
|
|
||||||
The remote file name to use for saving is extracted from the given URL,
|
The file will be saved in the current working directory. If you want the file
|
||||||
nothing else.
|
saved in a different directory, make sure you change the current working
|
||||||
|
directory before invoking curl with this option.
|
||||||
|
|
||||||
Consequentially, the file will be saved in the current working directory. If
|
The remote file name to use for saving is extracted from the given URL, nothing
|
||||||
you want the file saved in a different directory, make sure you change current
|
else, and if it already exists it will be overwritten. If you want the server
|
||||||
working directory before you invoke curl with the \fB-O, --remote-name\fP flag!
|
to be able to choose the file name refer to \fI-J, --remote-header-name\fP
|
||||||
|
which can be used in addition to this option. If the server chooses a file name
|
||||||
|
and that name already exists it will not be overwritten.
|
||||||
|
|
||||||
There is no URL decoding done on the file name. If it has %20 or other URL
|
There is no URL decoding done on the file name. If it has %20 or other URL
|
||||||
encoded parts of the name, they will end up as-is as file name.
|
encoded parts of the name, they will end up as-is as file name.
|
||||||
@@ -2335,7 +2347,7 @@ are meant to never change.
|
|||||||
Daniel Stenberg is the main author, but the whole list of contributors is
|
Daniel Stenberg is the main author, but the whole list of contributors is
|
||||||
found in the separate THANKS file.
|
found in the separate THANKS file.
|
||||||
.SH WWW
|
.SH WWW
|
||||||
http://curl.haxx.se
|
https://curl.haxx.se
|
||||||
.SH FTP
|
.SH FTP
|
||||||
ftp://ftp.sunet.se/pub/www/utilities/curl/
|
ftp://ftp.sunet.se/pub/www/utilities/curl/
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# pass files as argument(s)
|
# pass files as argument(s)
|
||||||
|
|
||||||
my $docroot="http://curl.haxx.se/libcurl/c";
|
my $docroot="https://curl.haxx.se/libcurl/c";
|
||||||
|
|
||||||
for $f (@ARGV) {
|
for $f (@ARGV) {
|
||||||
open(NEW, ">$f.new");
|
open(NEW, ">$f.new");
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#define MSG_OUT stdout /* Send info to stdout, change to stderr if you want */
|
#define MSG_OUT stdout /* Send info to stdout, change to stderr if you want */
|
||||||
|
|
||||||
@@ -378,9 +379,9 @@ static curl_socket_t opensocket(void *clientp, curlsocktype purpose,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* CURLOPT_CLOSESOCKETFUNCTION */
|
/* CURLOPT_CLOSESOCKETFUNCTION */
|
||||||
static int closesocket(void *clientp, curl_socket_t item)
|
static int close_socket(void *clientp, curl_socket_t item)
|
||||||
{
|
{
|
||||||
fprintf(MSG_OUT, "\nclosesocket : %d", item);
|
fprintf(MSG_OUT, "\nclose_socket : %d", item);
|
||||||
|
|
||||||
std::map<curl_socket_t, boost::asio::ip::tcp::socket *>::iterator it = socket_map.find(item);
|
std::map<curl_socket_t, boost::asio::ip::tcp::socket *>::iterator it = socket_map.find(item);
|
||||||
|
|
||||||
@@ -427,7 +428,7 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||||||
curl_easy_setopt(conn->easy, CURLOPT_OPENSOCKETFUNCTION, opensocket);
|
curl_easy_setopt(conn->easy, CURLOPT_OPENSOCKETFUNCTION, opensocket);
|
||||||
|
|
||||||
/* call this function to close a socket */
|
/* call this function to close a socket */
|
||||||
curl_easy_setopt(conn->easy, CURLOPT_CLOSESOCKETFUNCTION, closesocket);
|
curl_easy_setopt(conn->easy, CURLOPT_CLOSESOCKETFUNCTION, close_socket);
|
||||||
|
|
||||||
fprintf(MSG_OUT,
|
fprintf(MSG_OUT,
|
||||||
"\nAdding easy %p to multi %p (%s)", conn->easy, g->multi, url);
|
"\nAdding easy %p to multi %p (%s)", conn->easy, g->multi, url);
|
||||||
@@ -441,7 +442,6 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
GlobalInfo g;
|
GlobalInfo g;
|
||||||
CURLMcode rc;
|
|
||||||
|
|
||||||
(void)argc;
|
(void)argc;
|
||||||
(void)argv;
|
(void)argv;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
* "This product includes software developed by the Openevidence Project
|
* "This product includes software developed by the Openevidence Project
|
||||||
* for use in the OpenEvidence Toolkit. (http://www.openevidence.org/)"
|
* for use in the OpenEvidence Toolkit. (http://www.openevidence.org/)"
|
||||||
* This product includes software developed by the OpenSSL Project
|
* This product includes software developed by the OpenSSL Project
|
||||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
* for use in the OpenSSL Toolkit (https://www.openssl.org/)"
|
||||||
* This product includes cryptographic software written by Eric Young
|
* This product includes cryptographic software written by Eric Young
|
||||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||||
* Hudson (tjh@cryptsoft.com)."
|
* Hudson (tjh@cryptsoft.com)."
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
* "This product includes software developed by the OpenEvidence Project
|
* "This product includes software developed by the OpenEvidence Project
|
||||||
* for use in the OpenEvidence Toolkit (http://www.openevidence.org/)
|
* for use in the OpenEvidence Toolkit (http://www.openevidence.org/)
|
||||||
* This product includes software developed by the OpenSSL Project
|
* This product includes software developed by the OpenSSL Project
|
||||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
* for use in the OpenSSL Toolkit (https://www.openssl.org/)"
|
||||||
* This product includes cryptographic software written by Eric Young
|
* This product includes cryptographic software written by Eric Young
|
||||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||||
* Hudson (tjh@cryptsoft.com)."
|
* Hudson (tjh@cryptsoft.com)."
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
* ====================================================================
|
* ====================================================================
|
||||||
*
|
*
|
||||||
* This product includes software developed by the OpenSSL Project
|
* This product includes software developed by the OpenSSL Project
|
||||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)
|
* for use in the OpenSSL Toolkit (https://www.openssl.org/)
|
||||||
* This product includes cryptographic software written by Eric Young
|
* This product includes cryptographic software written by Eric Young
|
||||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||||
* Hudson (tjh@cryptsoft.com).
|
* Hudson (tjh@cryptsoft.com).
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -65,7 +65,7 @@ int main(void)
|
|||||||
res = curl_easy_perform(curl);
|
res = curl_easy_perform(curl);
|
||||||
|
|
||||||
if(CURLE_OK == res) {
|
if(CURLE_OK == res) {
|
||||||
/* http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html */
|
/* https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html */
|
||||||
res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
|
res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
|
||||||
if((CURLE_OK == res) && (filetime >= 0)) {
|
if((CURLE_OK == res) && (filetime >= 0)) {
|
||||||
time_t file_time = (time_t)filetime;
|
time_t file_time = (time_t)filetime;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -48,7 +48,7 @@ int main(void)
|
|||||||
else {
|
else {
|
||||||
res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code);
|
res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code);
|
||||||
if((res == CURLE_OK) &&
|
if((res == CURLE_OK) &&
|
||||||
((code / 100) != 3)) {
|
((response_code / 100) != 3)) {
|
||||||
/* a redirect implies a 3xx response code */
|
/* a redirect implies a 3xx response code */
|
||||||
fprintf(stderr, "Not a redirect.\n");
|
fprintf(stderr, "Not a redirect.\n");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define COMPARE(a, b) (!stricmp((a), (b)))
|
#define COMPARE(a, b) (!_stricmp((a), (b)))
|
||||||
#else
|
#else
|
||||||
#define COMPARE(a, b) (!strcasecmp((a), (b)))
|
#define COMPARE(a, b) (!strcasecmp((a), (b)))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
@@ -36,11 +36,11 @@
|
|||||||
If you intend to use a SSL-based protocol here you MUST setup the OpenSSL
|
If you intend to use a SSL-based protocol here you MUST setup the OpenSSL
|
||||||
callback functions as described here:
|
callback functions as described here:
|
||||||
|
|
||||||
http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION
|
https://www.openssl.org/docs/crypto/threads.html#DESCRIPTION
|
||||||
|
|
||||||
*/
|
*/
|
||||||
const char * const urls[NUMT]= {
|
const char * const urls[NUMT]= {
|
||||||
"http://curl.haxx.se/",
|
"https://curl.haxx.se/",
|
||||||
"ftp://cool.haxx.se/",
|
"ftp://cool.haxx.se/",
|
||||||
"http://www.contactor.se/",
|
"http://www.contactor.se/",
|
||||||
"www.haxx.se"
|
"www.haxx.se"
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user