Compare commits
22 Commits
curl-7_47_
...
HTTPS-prox
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ed24d41cb1 | ||
![]() |
cc9b053d84 | ||
![]() |
3e7a1ff9a6 | ||
![]() |
e21bd4ecb5 | ||
![]() |
4bb13975a8 | ||
![]() |
4e28002898 | ||
![]() |
ec6d8a38ae | ||
![]() |
127a7b0257 | ||
![]() |
043c5f5c33 | ||
![]() |
171de1bef8 | ||
![]() |
f956ebf252 | ||
![]() |
68a7d38aa0 | ||
![]() |
cd2644fe2c | ||
![]() |
1c5997ae9d | ||
![]() |
f9087b7499 | ||
![]() |
7df237b0b1 | ||
![]() |
211b265ffd | ||
![]() |
316054e8cd | ||
![]() |
f7e2cd278a | ||
![]() |
b505df4b68 | ||
![]() |
e58bd8e41a | ||
![]() |
3d90ec5448 |
@@ -1,10 +0,0 @@
|
|||||||
;;; Directory Local Variables
|
|
||||||
;;; See Info node `(emacs) Directory Variables' for more information.
|
|
||||||
|
|
||||||
((nil . ((indent-tabs-mode . nil)
|
|
||||||
(show-trailing-whitespace . t)))
|
|
||||||
(c-mode . ((c-basic-offset . 2)
|
|
||||||
))
|
|
||||||
(c++-mode . ((c-basic-offset . 2)
|
|
||||||
))
|
|
||||||
)
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -49,4 +49,3 @@ missing
|
|||||||
mkinstalldirs
|
mkinstalldirs
|
||||||
tags
|
tags
|
||||||
test-driver
|
test-driver
|
||||||
scripts/_curl
|
|
||||||
|
2
CHANGES
2
CHANGES
@@ -1,4 +1,4 @@
|
|||||||
See https://curl.haxx.se/changes.html for the edited and human readable online
|
See http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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 => https://curl.haxx.se/mail/")
|
# SET(PACKAGE_BUGREPORT "a suitable curl mailing list => http://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,6 +122,11 @@ 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)
|
||||||
@@ -248,7 +253,6 @@ 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)
|
||||||
@@ -286,22 +290,14 @@ 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" ${OPENSSL_DEFAULT})
|
option(CMAKE_USE_OPENSSL "Use OpenSSL code. Experimental" ON)
|
||||||
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)
|
||||||
@@ -324,8 +320,6 @@ 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()
|
||||||
|
|
||||||
@@ -1061,8 +1055,7 @@ endfunction()
|
|||||||
|
|
||||||
# Clear list and try to detect available features
|
# Clear list and try to detect available features
|
||||||
set(_items)
|
set(_items)
|
||||||
_add_if("WinSSL" SSL_ENABLED AND USE_WINDOWS_SSPI)
|
_add_if("SSL" SSL_ENABLED)
|
||||||
_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](https://curl.haxx.se/mail/)
|
2. Subscribe to the suitable [mailing lists](http://curl.haxx.se/mail/)
|
||||||
|
|
||||||
Read [docs/CONTRIBUTE](docs/CONTRIBUTE)
|
Read [docs/CONTRIBUTE](docs/CONTRIBUTE)
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
3
COPYING
3
COPYING
@@ -1,7 +1,6 @@
|
|||||||
COPYRIGHT AND PERMISSION NOTICE
|
COPYRIGHT AND PERMISSION NOTICE
|
||||||
|
|
||||||
Copyright (c) 1996 - 2016, Daniel Stenberg, <daniel@haxx.se>, and many
|
Copyright (c) 1996 - 2015, Daniel Stenberg, <daniel@haxx.se>.
|
||||||
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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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
|
||||||
@@ -140,7 +140,7 @@ CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \
|
|||||||
|
|
||||||
bin_SCRIPTS = curl-config
|
bin_SCRIPTS = curl-config
|
||||||
|
|
||||||
SUBDIRS = lib src include scripts
|
SUBDIRS = lib src include
|
||||||
DIST_SUBDIRS = $(SUBDIRS) tests packages docs
|
DIST_SUBDIRS = $(SUBDIRS) tests packages docs
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
@@ -160,10 +160,10 @@ dist-hook:
|
|||||||
done)
|
done)
|
||||||
|
|
||||||
html:
|
html:
|
||||||
cd docs && make html
|
cd docs; make html
|
||||||
|
|
||||||
pdf:
|
pdf:
|
||||||
cd docs && make pdf
|
cd docs; make pdf
|
||||||
|
|
||||||
check: test examples check-docs
|
check: test examples check-docs
|
||||||
|
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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 https://curl.haxx.se/mail/
|
by posting to a suitable mailing list. See http://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:
|
||||||
|
|
||||||
https://curl.haxx.se/
|
http://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/curl/curl.git
|
git clone https://github.com/bagder/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)
|
||||||
|
|
||||||
|
122
RELEASE-NOTES
122
RELEASE-NOTES
@@ -1,48 +1,110 @@
|
|||||||
Curl and libcurl 7.47.1
|
Curl and libcurl 7.46.0
|
||||||
|
|
||||||
Public curl releases: 152
|
Public curl releases: 150
|
||||||
Command line options: 179
|
Command line options: 177
|
||||||
curl_easy_setopt() options: 221
|
curl_easy_setopt() options: 221
|
||||||
Public functions in libcurl: 61
|
Public functions in libcurl: 61
|
||||||
Contributors: 1346
|
Contributors: 1322
|
||||||
|
|
||||||
|
This release includes the following changes:
|
||||||
|
|
||||||
|
o configure: build silently by default
|
||||||
|
o cookies: Add support for Publix Suffix List with libpsl
|
||||||
|
o vtls: added support for mbedTLS [7]
|
||||||
|
o Added CURLOPT_STREAM_DEPENDS [8]
|
||||||
|
o Added CURLOPT_STREAM_DEPENDS_E [9]
|
||||||
|
o Added CURLOPT_STREAM_WEIGHT [10]
|
||||||
|
o Added CURLFORM_CONTENTLEN [14]
|
||||||
|
o oauth2: Added support for OAUTHBEARER SASL mechanism to IMAP, POP3 and SNMP
|
||||||
|
|
||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
o getredirect.c: fix variable name
|
o des: Fix header conditional for Curl_des_set_odd_parity
|
||||||
o tool_doswin: silence unused function warning [1]
|
o ntlm: get rid of unconditional use of long long [1]
|
||||||
o cmake: fixed when OpenSSL enabled on Windows and schannel detected [2]
|
o CURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFO
|
||||||
o curl.1: Explain remote-name behavior if file already exists
|
o docs: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET [2]
|
||||||
o tool_operate: Don't sanitize --output path (Windows) [3]
|
o http2: Fix http2_recv to return -1 if recv returned -1
|
||||||
o URLs: change all http:// URLs to https:// in documentation & comments
|
o curl_global_init_mem: set function pointers before doing init
|
||||||
o sasl_sspi: Fix memory leak in domain populate [4]
|
o ntlm: error out without 64bit support as the code needs it [1]
|
||||||
o COPYING: clarify that Daniel is not the sole author
|
o openssl: Fix set up of pkcs12 certificate verification chain
|
||||||
o examples/htmltitle: Use _stricmp on Windows [5]
|
o acinclude: remove PKGCONFIG override [3]
|
||||||
o examples/asiohiper: Avoid function name collision on Windows [6]
|
o test1531: case the size to fix the test on non-largefile builds
|
||||||
o idn_win32: Better error checking [7]
|
o fread_func: move callback pointer from set to state struct [4]
|
||||||
o openssl: Fix signed/unsigned mismatch warning in X509V3_ext [8]
|
o test1601: fix compilation with --enable-debug and --disable-crypto-auth
|
||||||
o curl save files: check for backslashes on cygwin [9]
|
o http2: Don't pass unitialized name+len pairs to nghttp2_submit_request [5]
|
||||||
|
o curlbuild.h: Fix non-configure compiling to mips and sh4 targets
|
||||||
|
o tool: Generate easysrc with last cache linked-list [6]
|
||||||
|
o cmake: Fix for add_subdirectory(curl) use-case
|
||||||
|
o vtls: fix compiler warning for TLS backends without sha256
|
||||||
|
o build: fix for MSDOS/djgpp
|
||||||
|
o checksrc: add crude // detection
|
||||||
|
o http2: on_frame_recv: trust the conn/data input
|
||||||
|
o ftp: allow CURLOPT_IGNORE_CONTENT_LENGTH to ignore size [11]
|
||||||
|
o polarssl/mbedtls: fix name space pollution
|
||||||
|
o build: Fix mingw ssl gdi32 order [12]
|
||||||
|
o build: Fix support for PKG_CONFIG
|
||||||
|
o MacOSX-Framework: sdk regex fix for sdk 10.10 and later
|
||||||
|
o socks: Fix incorrect port numbers in failed connect messages
|
||||||
|
o curl.1: -E: s/private certificate/client certificate
|
||||||
|
o curl.h: s/HTTPPOST_/CURL_HTTPOST_ [13]
|
||||||
|
o curl_formadd: support >2GB files on windows [14]
|
||||||
|
o http redirects: %-encode bytes outside of ascii range [15]
|
||||||
|
o rawstr: Speed up Curl_raw_toupper by 40%
|
||||||
|
o curl_ntlm_core: fix 2 curl_off_t constant overflows.
|
||||||
|
o getinfo: CURLINFO_ACTIVESOCKET: fix bad socket value
|
||||||
|
o tftp tests: verify sent options too
|
||||||
|
o imap: Don't call imap_atom() when no mailbox specified in LIST command
|
||||||
|
o imap: Fixed double quote in LIST command when mailbox contains spaces
|
||||||
|
o imap: Don't check for continuation when executing a CUSTOMREQUEST [16]
|
||||||
|
o acinclude: Remove check for 16-bit curl_off_t
|
||||||
|
o BoringSSL: Work with stricter BIO_get_mem_data() [17]
|
||||||
|
o cmake: Add missing feature macros in config header [18]
|
||||||
|
o sasl_sspi: fixed unicode build for digest authentication [19]
|
||||||
|
o sasl_sspi: fix identity memory leak in digest authentication
|
||||||
|
o unit1602: Fixed failure in torture test
|
||||||
|
o unit1603: Added unit tests for hash functions
|
||||||
|
o vtls/openssl: remove unused traces of yassl ifdefs
|
||||||
|
o openssl: remove #ifdefs for < 0.9.7 support
|
||||||
|
o typecheck-gcc.h: add some missing options
|
||||||
|
o curl: mark two more options strings for --libcurl output
|
||||||
|
o openssl: Free modules on cleanup [20]
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html)
|
o see docs/KNOWN_BUGS (http://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:
|
||||||
|
|
||||||
Bernard Spil, Dan Fandrich, Daniel Stenberg, Gisle Vanem, Michael Kaufmann,
|
Anders Bakken, Dan Fandrich, Daniel Hwang, Daniel Stenberg, Dmitry S. Baikov,
|
||||||
Octavio Schroeder, Ray Satiro, Sergei Nikulov, Viktor Szakáts,
|
Douglas Creager, Erik Johansson, Gisle Vanem, Javier G. Sogo, John Levon,
|
||||||
(9 contributors)
|
Jonas Minnberg, Justin Ehlert, Kamil Dudka, Kang Lin, Kurt Fankhauser,
|
||||||
|
Lauri Kasanen, Marcel Raad, Patrick Monnerat, Rainer Jung, Ray Satiro,
|
||||||
|
Richard Hosking, Sebastian Pohlschmidt, Stefan Bühler, Steve Holme,
|
||||||
|
Svyatoslav Mishyn, Tatsuhiro Tsujikawa, Tim Rühsen, xiangbin li,
|
||||||
|
(28 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] = https://github.com/curl/curl/pull/616
|
[1] = http://curl.haxx.se/bug/?i=478
|
||||||
[2] = https://curl.haxx.se/bug/?i=617
|
[2] = http://curl.haxx.se/bug/?i=479
|
||||||
[3] = https://curl.haxx.se/bug/?i=624
|
[3] = http://curl.haxx.se/mail/lib-2015-10/0035.html
|
||||||
[4] = https://github.com/curl/curl/issues/635
|
[4] = http://curl.haxx.se/bug/?i=346
|
||||||
[5] = https://curl.haxx.se/mail/lib-2016-02/0017.html
|
[5] = http://curl.haxx.se/bug/?i=493
|
||||||
[6] = https://curl.haxx.se/mail/lib-2016-02/0016.html
|
[6] = http://curl.haxx.se/bug/?i=452
|
||||||
[7] = https://github.com/curl/curl/pull/637
|
[7] = http://curl.haxx.se/bug/?i=496
|
||||||
[8] = https://github.com/curl/curl/commit/dd1b44c#commitcomment-15913896
|
[8] = http://curl.haxx.se/libcurl/c/CURLOPT_STREAM_DEPENDS.html
|
||||||
[9] = https://curl.haxx.se/docs/adv_20160127B.html
|
[9] = http://curl.haxx.se/libcurl/c/CURLOPT_STREAM_DEPENDS_E.html
|
||||||
|
[10] = http://curl.haxx.se/libcurl/c/CURLOPT_STREAM_WEIGHT.html
|
||||||
|
[11] = http://curl.haxx.se/bug/?i=480
|
||||||
|
[12] = https://github.com/bagder/curl/pull/501
|
||||||
|
[13] = http://curl.haxx.se/bug/?i=506
|
||||||
|
[14] = http://curl.haxx.se/bug/?i=425
|
||||||
|
[15] = http://curl.haxx.se/bug/?i=473
|
||||||
|
[16] = http://curl.haxx.se/bug/?i=486
|
||||||
|
[17] = http://curl.haxx.se/bug/?i=524
|
||||||
|
[18] = http://curl.haxx.se/bug/?i=523
|
||||||
|
[19] = http://curl.haxx.se/bug/?i=525
|
||||||
|
[20] = http://curl.haxx.se/bug/?i=526
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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,35 +1,19 @@
|
|||||||
version: 7.47.0.{build}
|
version: 7.45.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%" -DCMAKE_USE_OPENSSL=%OPENSSL%
|
- cmake .. -G"%PRJ_GEN%"
|
||||||
- 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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
rem * are also available at http://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
|
||||||
|
65
configure.ac
65
configure.ac
@@ -5,11 +5,11 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2015, 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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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: https://curl.haxx.se/mail/])
|
AC_INIT([curl], [-], [a suitable curl mailing list: http://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 - 2016 Daniel Stenberg, <daniel@haxx.se>
|
AC_COPYRIGHT([Copyright (c) 1998 - 2014 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])
|
||||||
|
|
||||||
@@ -1083,11 +1083,7 @@ AC_HELP_STRING([--disable-ipv6],[Disable IPv6 support]),
|
|||||||
|
|
||||||
AC_TRY_RUN([ /* is AF_INET6 available? */
|
AC_TRY_RUN([ /* is AF_INET6 available? */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_WINSOCK2_H
|
|
||||||
#include <winsock2.h>
|
|
||||||
#else
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
|
||||||
#include <stdlib.h> /* for exit() */
|
#include <stdlib.h> /* for exit() */
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
@@ -1101,8 +1097,8 @@ main()
|
|||||||
ipv6=yes,
|
ipv6=yes,
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
ipv6=no,
|
ipv6=no,
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(no)
|
||||||
ipv6=yes
|
ipv6=no
|
||||||
))
|
))
|
||||||
|
|
||||||
if test "$ipv6" = "yes"; then
|
if test "$ipv6" = "yes"; then
|
||||||
@@ -1114,12 +1110,7 @@ if test "$ipv6" = yes; then
|
|||||||
AC_MSG_CHECKING([if struct sockaddr_in6 has sin6_scope_id member])
|
AC_MSG_CHECKING([if struct sockaddr_in6 has sin6_scope_id member])
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_WINSOCK2_H
|
#include <netinet/in.h>] ,
|
||||||
#include <winsock2.h>
|
|
||||||
#include <ws2tcpip.h>
|
|
||||||
#else
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#endif] ,
|
|
||||||
struct sockaddr_in6 s; s.sin6_scope_id = 0; , have_sin6_scope_id=yes)
|
struct sockaddr_in6 s; s.sin6_scope_id = 0; , have_sin6_scope_id=yes)
|
||||||
if test "$have_sin6_scope_id" = yes; then
|
if test "$have_sin6_scope_id" = yes; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
@@ -2175,11 +2166,11 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
|
|||||||
]])
|
]])
|
||||||
],[
|
],[
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(USE_CYASSL, 1, [if CyaSSL/WolfSSL is enabled])
|
AC_DEFINE(USE_CYASSL, 1, [if CyaSSL is enabled])
|
||||||
AC_SUBST(USE_CYASSL, [1])
|
AC_SUBST(USE_CYASSL, [1])
|
||||||
CYASSL_ENABLED=1
|
CYASSL_ENABLED=1
|
||||||
USE_CYASSL="yes"
|
USE_CYASSL="yes"
|
||||||
curl_ssl_msg="enabled (WolfSSL)"
|
curl_ssl_msg="enabled (CyaSSL)"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
@@ -2191,7 +2182,7 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$USE_CYASSL" = "xyes"; then
|
if test "x$USE_CYASSL" = "xyes"; then
|
||||||
AC_MSG_NOTICE([detected $cyassllibname])
|
AC_MSG_NOTICE([detected CyaSSL])
|
||||||
|
|
||||||
dnl cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
|
dnl cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
|
||||||
AC_CHECK_SIZEOF(long long)
|
AC_CHECK_SIZEOF(long long)
|
||||||
@@ -2204,16 +2195,6 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
|
|||||||
|
|
||||||
LIBS="-l$cyassllibname -lm $LIBS"
|
LIBS="-l$cyassllibname -lm $LIBS"
|
||||||
|
|
||||||
if test "x$cyassllibname" = "xwolfssl"; then
|
|
||||||
dnl Recent WolfSSL versions build without SSLv3 by default
|
|
||||||
dnl WolfSSL needs configure --enable-opensslextra to have *get_peer*
|
|
||||||
AC_CHECK_FUNCS(wolfSSLv3_client_method \
|
|
||||||
wolfSSL_get_peer_certificate)
|
|
||||||
else
|
|
||||||
dnl Cyassl needs configure --enable-opensslextra to have *get_peer*
|
|
||||||
AC_CHECK_FUNCS(CyaSSL_get_peer_certificate)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$cyassllib"; then
|
if test -n "$cyassllib"; then
|
||||||
dnl when shared libs were found in a path that the run-time
|
dnl when shared libs were found in a path that the run-time
|
||||||
dnl linker doesn't search through, we need to add it to
|
dnl linker doesn't search through, we need to add it to
|
||||||
@@ -3049,31 +3030,6 @@ if test X"$want_h2" != Xno; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for zsh completion path
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
OPT_ZSH_FPATH=default
|
|
||||||
AC_ARG_WITH(zsh-functions-dir,
|
|
||||||
AC_HELP_STRING([--with-zsh-functions-dir=PATH],[Install zsh completions to PATH])
|
|
||||||
AC_HELP_STRING([--without-zsh-functions-dir],[Do not install zsh completions]),
|
|
||||||
[OPT_ZSH_FPATH=$withval])
|
|
||||||
case "$OPT_ZSH_FPATH" in
|
|
||||||
no)
|
|
||||||
dnl --without-zsh-functions-dir option used
|
|
||||||
;;
|
|
||||||
default|yes)
|
|
||||||
dnl --with-zsh-functions-dir option used without path
|
|
||||||
ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
|
|
||||||
AC_SUBST(ZSH_FUNCTIONS_DIR)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
dnl --with-zsh-functions-dir option used with path
|
|
||||||
ZSH_FUNCTIONS_DIR="$withval"
|
|
||||||
AC_SUBST(ZSH_FUNCTIONS_DIR)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
dnl Back to "normal" configuring
|
dnl Back to "normal" configuring
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
@@ -3841,7 +3797,6 @@ AC_CONFIG_FILES([Makefile \
|
|||||||
include/curl/Makefile \
|
include/curl/Makefile \
|
||||||
src/Makefile \
|
src/Makefile \
|
||||||
lib/Makefile \
|
lib/Makefile \
|
||||||
scripts/Makefile \
|
|
||||||
lib/libcurl.vers \
|
lib/libcurl.vers \
|
||||||
tests/Makefile \
|
tests/Makefile \
|
||||||
tests/certs/Makefile \
|
tests/certs/Makefile \
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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!
|
||||||
https://curl.haxx.se/libcurl/
|
http://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
|
||||||
https://curl.haxx.se/libcurl/
|
http://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/curl/curl/issues
|
https://github.com/bagder/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 https://curl.haxx.se/mail/
|
post there. The lists are available on http://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 https://curl.haxx.se/mail/ and join the appropriate mailing
|
Skip over to http://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: https://curl.haxx.se/mail/etiquette.html
|
list etiquette: http://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/curl/curl.git
|
git clone https://github.com/bagder/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:
|
||||||
|
43
docs/FAQ
43
docs/FAQ
@@ -225,9 +225,7 @@ FAQ
|
|||||||
implement it for you, that is not a very friendly attitude. We spend a
|
implement it for you, that is not a very friendly attitude. We spend a
|
||||||
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.
|
||||||
https://github.com/curl/curl, fork the project, and create pull requests
|
|
||||||
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.
|
||||||
|
|
||||||
@@ -253,10 +251,9 @@ 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. Also
|
||||||
https://github.com/curl/curl. Also again, some companies have sponsored
|
again, some companies have sponsored certain parts of the development in the
|
||||||
certain parts of the development in the past and I hope some will continue to
|
past and I hope some will continue to do so in the future.
|
||||||
do so in the future.
|
|
||||||
|
|
||||||
If you want to support our project, consider a donation or a banner-program
|
If you want to support our project, consider a donation or a banner-program
|
||||||
or even better: by helping us coding, documenting, testing etc.
|
or even better: by helping us coding, documenting, testing etc.
|
||||||
@@ -281,7 +278,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
|
||||||
https://curl.haxx.se/mail/
|
http://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 +299,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:
|
||||||
https://curl.haxx.se/support.html
|
http://curl.haxx.se/support.html
|
||||||
|
|
||||||
1.10 How many are using curl?
|
1.10 How many are using curl?
|
||||||
|
|
||||||
@@ -319,7 +316,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 https://daniel.haxx.se/blog/2012/05/16/300m-users/
|
See http://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 +338,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: https://curl.haxx.se/docs/caextract.html
|
for this purpose: http://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?
|
||||||
|
|
||||||
@@ -355,15 +352,13 @@ FAQ
|
|||||||
cryptography. When doing so, the Export Control Classification Number (ECCN)
|
cryptography. When doing so, the Export Control Classification Number (ECCN)
|
||||||
is used to identify the level of export control etc.
|
is used to identify the level of export control etc.
|
||||||
|
|
||||||
Apache Software Foundation gives a good explanation of ECCNs at
|
ASF gives a good explanation at https://www.apache.org/dev/crypto.html
|
||||||
https://www.apache.org/dev/crypto.html
|
|
||||||
|
|
||||||
We believe curl's number might be ECCN 5D002, another possibility is
|
We believe curl's number might be ECCN 5D002, another possibility is
|
||||||
5D992. It seems necessary to write them (the authority that administers ECCN
|
5D992. It seems necessary to write them, asking to confirm.
|
||||||
numbers), asking to confirm.
|
|
||||||
|
|
||||||
Comprehensible explanations of the meaning of such numbers and how to obtain
|
Comprehensible explanations of the meaning of such numbers and how to
|
||||||
them (resp.) are here
|
obtain them (resp.) are here
|
||||||
|
|
||||||
http://www.bis.doc.gov/licensing/exportingbasics.htm
|
http://www.bis.doc.gov/licensing/exportingbasics.htm
|
||||||
http://www.bis.doc.gov/licensing/do_i_needaneccn.html
|
http://www.bis.doc.gov/licensing/do_i_needaneccn.html
|
||||||
@@ -449,7 +444,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:
|
||||||
https://curl.haxx.se/docs/ssl-compared.html
|
http://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 +556,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:
|
||||||
https://curl.haxx.se/libcurl/
|
http://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 +689,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
|
||||||
(https://curl.haxx.se/docs/sslcerts.html). Server certificates that are
|
(http://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 +980,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: https://curl.haxx.se/docs/sslcerts.html
|
here: http://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?
|
||||||
|
|
||||||
@@ -1092,7 +1087,7 @@ FAQ
|
|||||||
|
|
||||||
In such cases, the TCP/IP stack is responsible for detecting when the
|
In such cases, the TCP/IP stack is responsible for detecting when the
|
||||||
network connection is irrevocably lost. Since with some protocols it is
|
network connection is irrevocably lost. Since with some protocols it is
|
||||||
perfectly legal for the client to wait indefinitely for data, the stack may
|
perfectly legal for the client wait indefinitely for data, the stack may
|
||||||
never report a problem, and even when it does, it can take up to 20 minutes
|
never report a problem, and even when it does, it can take up to 20 minutes
|
||||||
for it to detect an issue. The curl option --keepalive-time enables
|
for it to detect an issue. The curl option --keepalive-time enables
|
||||||
keep-alive support in the TCP/IP stack which makes it periodically probe the
|
keep-alive support in the TCP/IP stack which makes it periodically probe the
|
||||||
@@ -1402,7 +1397,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 https://cr.yp.to/ftpparse.html Versions of
|
list parser is available at http://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 +1516,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: https://curl.haxx.se/docs/companies.html and elsewhere,
|
As can be seen here: http://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. Moved site to curl.haxx.nu.
|
weekly.
|
||||||
|
|
||||||
Released curl 6.0 in September. 15000 lines of code.
|
Released curl 6.0 in September. 15000 lines of code.
|
||||||
|
|
||||||
@@ -81,8 +81,6 @@ 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 (https://curl.haxx.se/docs/http-cookies.html)
|
Updated: July 3, 2012 (http://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: https://curl.haxx.se/rfc/cookie_spec.html
|
original Netscape spec from 1994: http://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](https://daniel.haxx.se/http2/)
|
[http2 explained](http://daniel.haxx.se/http2/)
|
||||||
|
|
||||||
Build prerequisites
|
Build prerequisites
|
||||||
-------------------
|
-------------------
|
||||||
@@ -100,5 +100,8 @@ automatically. [Spec](https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-05)
|
|||||||
TODO
|
TODO
|
||||||
----
|
----
|
||||||
|
|
||||||
- Implement "prior-knowledge" HTTP/2 connections over clear text so that
|
- Provide API to set priorities / dependencies of individual streams
|
||||||
|
|
||||||
|
- Implement "prior-knowledge" HTTP/2 connecitons over clear text so that
|
||||||
curl can connect with HTTP/2 at once without 1.1+Upgrade.
|
curl can connect with HTTP/2 at once without 1.1+Upgrade.
|
||||||
|
|
||||||
|
@@ -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:
|
||||||
https://curl.haxx.se/dev/builds.html
|
http://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
|
||||||
https://curl.haxx.se/download/.
|
http://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]: https://curl.haxx.se/libcurl/c/curl_easy_setopt.html
|
[1]: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
|
||||||
[2]: https://curl.haxx.se/libcurl/c/curl_easy_init.html
|
[2]: http://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]: https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html
|
[5]: http://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html
|
||||||
[6]: https://curl.haxx.se/docs/manpage.html#--compressed
|
[6]: http://curl.haxx.se/docs/manpage.html#--compressed
|
||||||
[7]: https://curl.haxx.se/libcurl/c/curl_multi_socket_action.html
|
[7]: http://curl.haxx.se/libcurl/c/curl_multi_socket_action.html
|
||||||
[8]: https://curl.haxx.se/libcurl/c/curl_multi_timeout.html
|
[8]: http://curl.haxx.se/libcurl/c/curl_multi_timeout.html
|
||||||
[9]: https://curl.haxx.se/libcurl/c/curl_multi_setopt.html
|
[9]: http://curl.haxx.se/libcurl/c/curl_multi_setopt.html
|
||||||
[10]: https://curl.haxx.se/libcurl/c/CURLMOPT_TIMERFUNCTION.html
|
[10]: http://curl.haxx.se/libcurl/c/CURLMOPT_TIMERFUNCTION.html
|
||||||
[11]: https://curl.haxx.se/libcurl/c/curl_multi_perform.html
|
[11]: http://curl.haxx.se/libcurl/c/curl_multi_perform.html
|
||||||
[12]: https://curl.haxx.se/libcurl/c/curl_multi_fdset.html
|
[12]: http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
|
||||||
[13]: https://curl.haxx.se/libcurl/c/curl_multi_add_handle.html
|
[13]: http://curl.haxx.se/libcurl/c/curl_multi_add_handle.html
|
||||||
[14]: https://curl.haxx.se/libcurl/c/curl_multi_info_read.html
|
[14]: http://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/curl/curl/issues/334
|
https://github.com/bagder/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"
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1366
|
http://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. https://curl.haxx.se/bug/view.cgi?id=1411
|
heap corruption and crash. http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1294
|
http://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/curl/curl/issues/218
|
https://github.com/bagder/curl/issues/218
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1213
|
http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1222
|
http://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!
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1169
|
http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1065
|
http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=1116
|
http://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:
|
||||||
https://curl.haxx.se/mail/lib-2009-10/0024.html
|
http://curl.haxx.se/mail/lib-2009-10/0024.html
|
||||||
https://curl.haxx.se/bug/view.cgi?id=896
|
http://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
|
||||||
https://curl.haxx.se/mail/lib-2012-07/0073.html
|
http://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:
|
||||||
https://curl.haxx.se/bug/view.cgi?id=856
|
http://curl.haxx.se/bug/view.cgi?id=856
|
||||||
|
|
||||||
72. "Pausing pipeline problems."
|
72. "Pausing pipeline problems."
|
||||||
https://curl.haxx.se/mail/lib-2009-07/0214.html
|
http://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
|
||||||
https://curl.haxx.se/mail/lib-2009-07/0249.html
|
http://curl.haxx.se/mail/lib-2009-07/0249.html
|
||||||
|
|
||||||
68. "More questions about ares behavior".
|
68. "More questions about ares behavior".
|
||||||
https://curl.haxx.se/mail/lib-2009-08/0012.html
|
http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=846
|
http://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:
|
||||||
https://curl.haxx.se/mail/lib-2009-04/0300.html
|
http://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:.
|
||||||
https://curl.haxx.se/mail/archive-2008-02/0043.html
|
http://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.
|
||||||
https://curl.haxx.se/mail/lib-2008-08/0462.html
|
http://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: https://curl.haxx.se/mail/lib-2008-07/0295.html
|
not working: http://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
|
||||||
https://curl.haxx.se/bug/view.cgi?id=748
|
http://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:
|
||||||
https://curl.haxx.se/mail/lib-2008-01/0277.html
|
http://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
|
||||||
https://curl.haxx.se/mail/lib-2008-01/0080.html and Mandriva bug report
|
http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=649
|
http://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:
|
||||||
https://curl.haxx.se/bug/view.cgi?id=635
|
http://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:
|
||||||
https://curl.haxx.se/mail/lib-2007-01/0045.html
|
http://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:
|
||||||
https://curl.haxx.se/mail/lib-2007-01/0103.html
|
http://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: https://curl.haxx.se/bug/view.cgi?id=604
|
not do it right: http://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 https://curl.haxx.se/bug/view.cgi?id=535
|
to what winhttp does. See http://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.
|
||||||
https://curl.haxx.se/bug/view.cgi?id=440 How?
|
http://curl.haxx.se/bug/view.cgi?id=440 How?
|
||||||
https://curl.haxx.se/mail/lib-2004-08/0182.html
|
http://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:
|
||||||
https://curl.haxx.se/mail/lib-2003-06/0146.html
|
http://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 https://curl.haxx.se/docs/copyright.html
|
libcurl http://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 https://daniel.haxx.se/projects/c-ares/license.html
|
c-ares http://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
|
||||||
https://curl.haxx.se/mail/
|
http://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:
|
||||||
|
|
||||||
https://curl.haxx.se
|
http://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" https://curl.haxx.se/rfc/rfc2255.txt
|
RFC 2255, "The LDAP URL Format" http://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
|
||||||
https://curl.haxx.se/mail/. Some of the lists available are:
|
http://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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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
|
||||||
@@ -45,10 +45,10 @@ MAN2HTML= roffit < $< >$@
|
|||||||
SUFFIXES = .1 .html .pdf
|
SUFFIXES = .1 .html .pdf
|
||||||
|
|
||||||
html: $(HTMLPAGES)
|
html: $(HTMLPAGES)
|
||||||
cd libcurl && make html
|
cd libcurl; make html
|
||||||
|
|
||||||
pdf: $(PDFPAGES)
|
pdf: $(PDFPAGES)
|
||||||
cd libcurl && make pdf
|
cd libcurl; make pdf
|
||||||
|
|
||||||
.1.html:
|
.1.html:
|
||||||
$(MAN2HTML)
|
$(MAN2HTML)
|
||||||
|
@@ -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
|
||||||
https://curl.haxx.se/rfc/cookie_spec.html
|
http://curl.haxx.se/rfc/cookie_spec.html
|
||||||
|
|
||||||
RFC 2183 - The Content-Disposition Header Field
|
RFC 2183 - The Content-Disposition Header Field
|
||||||
|
|
||||||
|
@@ -23,6 +23,13 @@ HTTP/2
|
|||||||
As it would avoid the roundtrip-heavy Upgrade: procedures when you _know_
|
As it would avoid the roundtrip-heavy Upgrade: procedures when you _know_
|
||||||
it speaks HTTP/2.
|
it speaks HTTP/2.
|
||||||
|
|
||||||
|
- provide option to allow curl to default to HTTP/2 only when using HTTPS
|
||||||
|
|
||||||
|
We could switch on HTTP/2 by-default for HTTPS quite easily and it
|
||||||
|
shouldn't hurt anyone, while HTTP/2 for HTTP by default could introduce
|
||||||
|
lots of Upgrade: roundtrips that users won't like. So a separated option
|
||||||
|
alternative makes sense.
|
||||||
|
|
||||||
SRV records
|
SRV records
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
@@ -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](https://curl.haxx.se/docs/security.html).
|
[the curl web site security page](http://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
|
||||||
|
@@ -84,4 +84,4 @@ Disabling certificate revocation checks
|
|||||||
|
|
||||||
References:
|
References:
|
||||||
|
|
||||||
https://curl.haxx.se/docs/ssl-compared.html
|
http://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](https://curl.haxx.se/docs/caextract.html)
|
way for you: [CA Extract](http://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
|
||||||
|
26
docs/THANKS
26
docs/THANKS
@@ -207,7 +207,6 @@ Christian Krause
|
|||||||
Christian Kurz
|
Christian Kurz
|
||||||
Christian Robottom Reis
|
Christian Robottom Reis
|
||||||
Christian Schmitz
|
Christian Schmitz
|
||||||
Christian Stewart
|
|
||||||
Christian Vogt
|
Christian Vogt
|
||||||
Christian Weisgerber
|
Christian Weisgerber
|
||||||
Christophe Demory
|
Christophe Demory
|
||||||
@@ -262,9 +261,7 @@ Daniel Kahn Gillmor
|
|||||||
Daniel Lee Hwang
|
Daniel Lee Hwang
|
||||||
Daniel Melani
|
Daniel Melani
|
||||||
Daniel Mentz
|
Daniel Mentz
|
||||||
Daniel Schauenberg
|
|
||||||
Daniel Seither
|
Daniel Seither
|
||||||
Daniel Shahaf
|
|
||||||
Daniel Steinberg
|
Daniel Steinberg
|
||||||
Daniel Stenberg
|
Daniel Stenberg
|
||||||
Daniel Theron
|
Daniel Theron
|
||||||
@@ -278,7 +275,6 @@ Dave May
|
|||||||
Dave Reisner
|
Dave Reisner
|
||||||
Dave Thompson
|
Dave Thompson
|
||||||
Dave Vasilevsky
|
Dave Vasilevsky
|
||||||
Davey Shafik
|
|
||||||
David Bau
|
David Bau
|
||||||
David Binderman
|
David Binderman
|
||||||
David Blaikie
|
David Blaikie
|
||||||
@@ -332,14 +328,12 @@ Dmitry Falko
|
|||||||
Dmitry Kurochkin
|
Dmitry Kurochkin
|
||||||
Dmitry Popov
|
Dmitry Popov
|
||||||
Dmitry Rechkin
|
Dmitry Rechkin
|
||||||
Dmitry S. Baikov
|
|
||||||
Dolbneff A.V
|
Dolbneff A.V
|
||||||
Domenico Andreoli
|
Domenico Andreoli
|
||||||
Dominick Meglio
|
Dominick Meglio
|
||||||
Dominique Leuenberger
|
Dominique Leuenberger
|
||||||
Doug Kaufman
|
Doug Kaufman
|
||||||
Doug Porter
|
Doug Porter
|
||||||
Douglas Creager
|
|
||||||
Douglas E. Wegscheid
|
Douglas E. Wegscheid
|
||||||
Douglas Kilpatrick
|
Douglas Kilpatrick
|
||||||
Douglas R. Horner
|
Douglas R. Horner
|
||||||
@@ -404,11 +398,9 @@ Feist Josselin
|
|||||||
Felix Yan
|
Felix Yan
|
||||||
Felix von Leitner
|
Felix von Leitner
|
||||||
Feng Tu
|
Feng Tu
|
||||||
Flavio Medeiros
|
|
||||||
Florian Schoppmann
|
Florian Schoppmann
|
||||||
Florian Weimer
|
Florian Weimer
|
||||||
Forrest Cahoon
|
Forrest Cahoon
|
||||||
Francisco Moraes
|
|
||||||
Frank Gevaerts
|
Frank Gevaerts
|
||||||
Frank Hempel
|
Frank Hempel
|
||||||
Frank Keeney
|
Frank Keeney
|
||||||
@@ -557,7 +549,6 @@ Jason Liu
|
|||||||
Jason McDonald
|
Jason McDonald
|
||||||
Jason S. Priebe
|
Jason S. Priebe
|
||||||
Javier Barroso
|
Javier Barroso
|
||||||
Javier G. Sogo
|
|
||||||
Jay Austin
|
Jay Austin
|
||||||
Jayesh A Shah
|
Jayesh A Shah
|
||||||
Jaz Fresh
|
Jaz Fresh
|
||||||
@@ -613,7 +604,6 @@ Johan Nilsson
|
|||||||
Johan van Selst
|
Johan van Selst
|
||||||
Johannes Bauer
|
Johannes Bauer
|
||||||
Johannes Ernst
|
Johannes Ernst
|
||||||
Johannes Schindelin
|
|
||||||
John Bradshaw
|
John Bradshaw
|
||||||
John Coffey
|
John Coffey
|
||||||
John Crow
|
John Crow
|
||||||
@@ -624,9 +614,7 @@ John Gardiner Myers
|
|||||||
John Janssen
|
John Janssen
|
||||||
John Joseph Bachir
|
John Joseph Bachir
|
||||||
John Kelly
|
John Kelly
|
||||||
John Kohl
|
|
||||||
John Lask
|
John Lask
|
||||||
John Levon
|
|
||||||
John Lightsey
|
John Lightsey
|
||||||
John Marino
|
John Marino
|
||||||
John Marshall
|
John Marshall
|
||||||
@@ -645,7 +633,6 @@ Jon Torrey
|
|||||||
Jon Travis
|
Jon Travis
|
||||||
Jon Turner
|
Jon Turner
|
||||||
Jonas Forsman
|
Jonas Forsman
|
||||||
Jonas Minnberg
|
|
||||||
Jonas Schnelli
|
Jonas Schnelli
|
||||||
Jonatan Lander
|
Jonatan Lander
|
||||||
Jonatan Vela
|
Jonatan Vela
|
||||||
@@ -674,7 +661,6 @@ Julien Nabet
|
|||||||
Julien Royer
|
Julien Royer
|
||||||
Jun-ichiro itojun Hagino
|
Jun-ichiro itojun Hagino
|
||||||
Jurij Smakov
|
Jurij Smakov
|
||||||
Justin Ehlert
|
|
||||||
Justin Fletcher
|
Justin Fletcher
|
||||||
Justin Karneges
|
Justin Karneges
|
||||||
Justin Maggard
|
Justin Maggard
|
||||||
@@ -686,7 +672,6 @@ Kai Sommerfeld
|
|||||||
Kai-Uwe Rommel
|
Kai-Uwe Rommel
|
||||||
Kalle Vahlman
|
Kalle Vahlman
|
||||||
Kamil Dudka
|
Kamil Dudka
|
||||||
Kang Lin
|
|
||||||
Kang-Jin Lee
|
Kang-Jin Lee
|
||||||
Karl Moerder
|
Karl Moerder
|
||||||
Karol Pietrzak
|
Karol Pietrzak
|
||||||
@@ -718,7 +703,6 @@ Krishnendu Majumdar
|
|||||||
Krister Johansen
|
Krister Johansen
|
||||||
Kristian Gunstone
|
Kristian Gunstone
|
||||||
Kristian Köhntopp
|
Kristian Köhntopp
|
||||||
Kurt Fankhauser
|
|
||||||
Kyle J. McKay
|
Kyle J. McKay
|
||||||
Kyle L. Huff
|
Kyle L. Huff
|
||||||
Kyle Sallee
|
Kyle Sallee
|
||||||
@@ -735,7 +719,6 @@ Lars Nilsson
|
|||||||
Lars Torben Wilson
|
Lars Torben Wilson
|
||||||
Lau Hang Kin
|
Lau Hang Kin
|
||||||
Laurent Rabret
|
Laurent Rabret
|
||||||
Lauri Kasanen
|
|
||||||
Legoff Vincent
|
Legoff Vincent
|
||||||
Lehel Bernadt
|
Lehel Bernadt
|
||||||
Leif W
|
Leif W
|
||||||
@@ -764,7 +747,6 @@ Lucas Adamski
|
|||||||
Lucas Pardue
|
Lucas Pardue
|
||||||
Ludek Finstrle
|
Ludek Finstrle
|
||||||
Ludovico Cavedon
|
Ludovico Cavedon
|
||||||
Lukas Ruzicka
|
|
||||||
Lukasz Czekierda
|
Lukasz Czekierda
|
||||||
Luke Amery
|
Luke Amery
|
||||||
Luke Call
|
Luke Call
|
||||||
@@ -873,7 +855,6 @@ Michal Marek
|
|||||||
Michał Fita
|
Michał Fita
|
||||||
Michał Górny
|
Michał Górny
|
||||||
Michał Kowalczyk
|
Michał Kowalczyk
|
||||||
Michał Piechowski
|
|
||||||
Michel Promonet
|
Michel Promonet
|
||||||
Michele Bini
|
Michele Bini
|
||||||
Miguel Angel
|
Miguel Angel
|
||||||
@@ -932,7 +913,6 @@ Nis Jorgensen
|
|||||||
Nobuhiro Ban
|
Nobuhiro Ban
|
||||||
Nodak Sodak
|
Nodak Sodak
|
||||||
Norbert Frese
|
Norbert Frese
|
||||||
Norbert Kett
|
|
||||||
Norbert Novotny
|
Norbert Novotny
|
||||||
Ofer
|
Ofer
|
||||||
Ola Mork
|
Ola Mork
|
||||||
@@ -1069,7 +1049,6 @@ Richard Bramante
|
|||||||
Richard Clayton
|
Richard Clayton
|
||||||
Richard Cooper
|
Richard Cooper
|
||||||
Richard Gorton
|
Richard Gorton
|
||||||
Richard Hosking
|
|
||||||
Richard Michael
|
Richard Michael
|
||||||
Richard Moore
|
Richard Moore
|
||||||
Richard Prescott
|
Richard Prescott
|
||||||
@@ -1143,7 +1122,6 @@ Scott Cantor
|
|||||||
Scott Davis
|
Scott Davis
|
||||||
Scott McCreary
|
Scott McCreary
|
||||||
Sean Boudreau
|
Sean Boudreau
|
||||||
Sebastian Pohlschmidt
|
|
||||||
Sebastian Rasmussen
|
Sebastian Rasmussen
|
||||||
Senthil Raja Velu
|
Senthil Raja Velu
|
||||||
Sergei Nikulov
|
Sergei Nikulov
|
||||||
@@ -1217,7 +1195,6 @@ Tatsuhiro Tsujikawa
|
|||||||
Temprimus
|
Temprimus
|
||||||
Terri Oda
|
Terri Oda
|
||||||
Thomas Braun
|
Thomas Braun
|
||||||
Thomas Glanzmann
|
|
||||||
Thomas J. Moore
|
Thomas J. Moore
|
||||||
Thomas Klausner
|
Thomas Klausner
|
||||||
Thomas L. Shinnick
|
Thomas L. Shinnick
|
||||||
@@ -1236,7 +1213,7 @@ Tim Costello
|
|||||||
Tim Harder
|
Tim Harder
|
||||||
Tim Heckman
|
Tim Heckman
|
||||||
Tim Newsome
|
Tim Newsome
|
||||||
Tim Rühsen
|
Tim Ruehsen
|
||||||
Tim Sneddon
|
Tim Sneddon
|
||||||
Tim Stack
|
Tim Stack
|
||||||
Tim Starling
|
Tim Starling
|
||||||
@@ -1325,7 +1302,6 @@ Wojciech Zwiefka
|
|||||||
Wouter Van Rooy
|
Wouter Van Rooy
|
||||||
Wu Yongzheng
|
Wu Yongzheng
|
||||||
Xavier Bouchoux
|
Xavier Bouchoux
|
||||||
Xiangbin Li
|
|
||||||
Yaakov Selkowitz
|
Yaakov Selkowitz
|
||||||
Yamada Yasuharu
|
Yamada Yasuharu
|
||||||
Yang Tse
|
Yang Tse
|
||||||
|
@@ -51,4 +51,3 @@ s/Viktor Szakats/Viktor Szakáts/
|
|||||||
s/Jonathan Cardoso/Jonathan Cardoso Machado/
|
s/Jonathan Cardoso/Jonathan Cardoso Machado/
|
||||||
s/Linus Nielsen/Linus Nielsen Feltzing/
|
s/Linus Nielsen/Linus Nielsen Feltzing/
|
||||||
s/Todd Ouska$/Todd A Ouska/
|
s/Todd Ouska$/Todd A Ouska/
|
||||||
s/Tim Ruehsen/Tim Rühsen/
|
|
||||||
|
147
docs/TODO
147
docs/TODO
@@ -27,17 +27,11 @@
|
|||||||
1.9 Cache negative name resolves
|
1.9 Cache negative name resolves
|
||||||
1.10 Support IDNA2008
|
1.10 Support IDNA2008
|
||||||
1.11 minimize dependencies with dynamicly loaded modules
|
1.11 minimize dependencies with dynamicly loaded modules
|
||||||
1.12 have form functions use CURL handle argument
|
|
||||||
1.13 Add CURLOPT_MAIL_CLIENT option
|
|
||||||
1.14 Typesafe curl_easy_setopt()
|
|
||||||
1.15 TCP Fast Open
|
|
||||||
1.16 Try to URL encode given URL
|
|
||||||
|
|
||||||
2. libcurl - multi interface
|
2. libcurl - multi interface
|
||||||
2.1 More non-blocking
|
2.1 More non-blocking
|
||||||
2.2 Better support for same name resolves
|
2.2 Fix HTTP Pipelining for PUT
|
||||||
2.3 Non-blocking curl_multi_remove_handle()
|
2.3 Better support for same name resolves
|
||||||
2.4 Split connect and authentication process
|
|
||||||
|
|
||||||
3. Documentation
|
3. Documentation
|
||||||
3.1 Update date and version in man pages
|
3.1 Update date and version in man pages
|
||||||
@@ -84,7 +78,6 @@
|
|||||||
11.1 File listing support
|
11.1 File listing support
|
||||||
11.2 Honor file timestamps
|
11.2 Honor file timestamps
|
||||||
11.3 Use NTLMv2
|
11.3 Use NTLMv2
|
||||||
11.4 Create remote directories
|
|
||||||
|
|
||||||
12. New protocols
|
12. New protocols
|
||||||
12.1 RSYNC
|
12.1 RSYNC
|
||||||
@@ -123,7 +116,6 @@
|
|||||||
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
|
||||||
@@ -149,6 +141,8 @@
|
|||||||
21.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE
|
21.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE
|
||||||
21.7 remove progress meter from libcurl
|
21.7 remove progress meter from libcurl
|
||||||
21.8 remove 'curl_httppost' from public
|
21.8 remove 'curl_httppost' from public
|
||||||
|
21.9 have form functions use CURL handle argument
|
||||||
|
21.10 Add CURLOPT_MAIL_CLIENT option
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
@@ -173,7 +167,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 https://curl.haxx.se/mail/lib-2008-09/0197.html
|
problem is available at http://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.
|
||||||
@@ -240,60 +234,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/curl/curl/issues/349
|
https://github.com/bagder/curl/issues/349
|
||||||
|
|
||||||
1.12 have form functions use CURL handle argument
|
|
||||||
|
|
||||||
curl_formadd() and curl_formget() both currently have no CURL handle
|
|
||||||
argument, but both can use a callback that is set in the easy handle, and
|
|
||||||
thus curl_formget() with callback cannot function without first having
|
|
||||||
curl_easy_perform() (or similar) called - which is hard to grasp and a design
|
|
||||||
mistake.
|
|
||||||
|
|
||||||
The curl_formadd() design can probably also be reconsidered to make it easier
|
|
||||||
to use and less error-prone. Probably easiest by splitting it into several
|
|
||||||
function calls.
|
|
||||||
|
|
||||||
1.13 Add CURLOPT_MAIL_CLIENT option
|
|
||||||
|
|
||||||
Rather than use the URL to specify the mail client string to present in the
|
|
||||||
HELO and EHLO commands, libcurl should support a new CURLOPT specifically for
|
|
||||||
specifying this data as the URL is non-standard and to be honest a bit of a
|
|
||||||
hack ;-)
|
|
||||||
|
|
||||||
Please see the following thread for more information:
|
|
||||||
https://curl.haxx.se/mail/lib-2012-05/0178.html
|
|
||||||
|
|
||||||
1.14 Typesafe curl_easy_setopt()
|
|
||||||
|
|
||||||
One of the most common problems in libcurl using applications is the lack of
|
|
||||||
type checks for curl_easy_setopt() which happens because it accepts varargs
|
|
||||||
and thus can take any type.
|
|
||||||
|
|
||||||
One possible solution to this is to introduce a few different versions of the
|
|
||||||
setopt version for the different kinds of data you can set.
|
|
||||||
|
|
||||||
curl_easy_set_num() - sets a long value
|
|
||||||
|
|
||||||
curl_easy_set_large() - sets a curl_off_t value
|
|
||||||
|
|
||||||
curl_easy_set_ptr() - sets a pointer
|
|
||||||
|
|
||||||
curl_easy_set_cb() - sets a callback PLUS its callback data
|
|
||||||
|
|
||||||
1.15 TCP Fast Open
|
|
||||||
|
|
||||||
RFC 7413 defines how to include data already in the TCP SYN handshake to
|
|
||||||
reduce latency.
|
|
||||||
|
|
||||||
1.16 Try to URL encode given URL
|
|
||||||
|
|
||||||
Given a URL that for example contains spaces, libcurl could have an option
|
|
||||||
that would try somewhat harder than it does now and convert spaces to %20 and
|
|
||||||
perhaps URL encoded byte values over 128 etc (basically do what the redirect
|
|
||||||
following code already does).
|
|
||||||
|
|
||||||
https://github.com/curl/curl/issues/514
|
|
||||||
|
|
||||||
2. libcurl - multi interface
|
2. libcurl - multi interface
|
||||||
|
|
||||||
@@ -311,7 +252,13 @@
|
|||||||
- The "DONE" operation (post transfer protocol-specific actions) for the
|
- The "DONE" operation (post transfer protocol-specific actions) for the
|
||||||
protocols SFTP, SMTP, FTP. Fixing Curl_done() for this is a worthy task.
|
protocols SFTP, SMTP, FTP. Fixing Curl_done() for this is a worthy task.
|
||||||
|
|
||||||
2.2 Better support for same name resolves
|
2.2 Fix HTTP Pipelining for PUT
|
||||||
|
|
||||||
|
HTTP Pipelining can be a way to greatly enhance performance for multiple
|
||||||
|
serial requests and currently libcurl only supports that for HEAD and GET
|
||||||
|
requests but it should also be possible for PUT.
|
||||||
|
|
||||||
|
2.3 Better support for same name resolves
|
||||||
|
|
||||||
If a name resolve has been initiated for name NN and a second easy handle
|
If a name resolve has been initiated for name NN and a second easy handle
|
||||||
wants to resolve that name as well, make it wait for the first resolve to end
|
wants to resolve that name as well, make it wait for the first resolve to end
|
||||||
@@ -319,20 +266,6 @@
|
|||||||
especially needed when adding many simultaneous handles using the same host
|
especially needed when adding many simultaneous handles using the same host
|
||||||
name when the DNS resolver can get flooded.
|
name when the DNS resolver can get flooded.
|
||||||
|
|
||||||
2.3 Non-blocking curl_multi_remove_handle()
|
|
||||||
|
|
||||||
The multi interface has a few API calls that assume a blocking behavior, like
|
|
||||||
add_handle() and remove_handle() which limits what we can do internally. The
|
|
||||||
multi API need to be moved even more into a single function that "drives"
|
|
||||||
everything in a non-blocking manner and signals when something is done. A
|
|
||||||
remove or add would then only ask for the action to get started and then
|
|
||||||
multi_perform() etc still be called until the add/remove is completed.
|
|
||||||
|
|
||||||
2.4 Split connect and authentication process
|
|
||||||
|
|
||||||
The multi interface treats the authentication process as part of the connect
|
|
||||||
phase. As such any failures during authentication won't trigger the relevant
|
|
||||||
QUIT or LOGOFF for protocols such as IMAP, POP3 and SMTP.
|
|
||||||
|
|
||||||
3. Documentation
|
3. Documentation
|
||||||
|
|
||||||
@@ -356,7 +289,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). https://curl.haxx.se/bug/feature.cgi?id=1754793
|
vice versa). http://curl.haxx.se/bug/feature.cgi?id=1754793
|
||||||
|
|
||||||
4.3 Earlier bad letter detection
|
4.3 Earlier bad letter detection
|
||||||
|
|
||||||
@@ -393,13 +326,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
|
||||||
https://curl.haxx.se/bug/feature.cgi?id=1089001
|
http://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.
|
||||||
https://curl.haxx.se/bug/feature.cgi?id=1871388
|
http://curl.haxx.se/bug/feature.cgi?id=1871388
|
||||||
|
|
||||||
5.3 Rearrange request header order
|
5.3 Rearrange request header order
|
||||||
|
|
||||||
@@ -435,7 +368,7 @@ This is not detailed in any FTP specification.
|
|||||||
|
|
||||||
5.6 Refuse "downgrade" redirects
|
5.6 Refuse "downgrade" redirects
|
||||||
|
|
||||||
See https://github.com/curl/curl/issues/226
|
See https://github.com/bagder/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.
|
||||||
@@ -527,11 +460,6 @@ The timestamp of the transferred file should reflect that of the original file.
|
|||||||
|
|
||||||
Currently the SMB authentication uses NTLMv1.
|
Currently the SMB authentication uses NTLMv1.
|
||||||
|
|
||||||
11.4 Create remote directories
|
|
||||||
|
|
||||||
Support for creating remote directories when uploading a file to a directory
|
|
||||||
that doesn't exist on the server, just like --ftp-create-dirs.
|
|
||||||
|
|
||||||
12. New protocols
|
12. New protocols
|
||||||
|
|
||||||
12.1 RSYNC
|
12.1 RSYNC
|
||||||
@@ -544,7 +472,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 https://curl.haxx.se/bug/feature.cgi?id=1767276
|
SSLv2 http://curl.haxx.se/bug/feature.cgi?id=1767276
|
||||||
|
|
||||||
13.2 Provide mutex locking API
|
13.2 Provide mutex locking API
|
||||||
|
|
||||||
@@ -555,7 +483,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:
|
||||||
https://curl.haxx.se/mail/lib-2004-03/0087.html
|
http://curl.haxx.se/mail/lib-2004-03/0087.html
|
||||||
|
|
||||||
13.4 Cache OpenSSL contexts
|
13.4 Cache OpenSSL contexts
|
||||||
|
|
||||||
@@ -593,9 +521,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
|
||||||
(https://curl.haxx.se/mail/lib-2013-03/0075.html) but it was a too simple
|
(http://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:
|
||||||
https://curl.haxx.se/mail/lib-2013-03/0103.html . libunbound may be the
|
http://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
|
||||||
@@ -687,7 +615,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. https://curl.haxx.se/bug/feature.cgi?id=1558595
|
multi interface. http://curl.haxx.se/bug/feature.cgi?id=1558595
|
||||||
|
|
||||||
17.5 provide formpost headers
|
17.5 provide formpost headers
|
||||||
|
|
||||||
@@ -730,21 +658,13 @@ 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/curl/curl/issues/221
|
See https://github.com/bagder/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/curl/curl/issues/322
|
probably be improved. See https://github.com/bagder/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
|
||||||
@@ -895,3 +815,22 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
|
|
||||||
Changing them to return a private handle will benefit the implementation and
|
Changing them to return a private handle will benefit the implementation and
|
||||||
allow us much greater freedoms while still maintaining a solid API and ABI.
|
allow us much greater freedoms while still maintaining a solid API and ABI.
|
||||||
|
|
||||||
|
21.9 have form functions use CURL handle argument
|
||||||
|
|
||||||
|
curl_formadd() and curl_formget() both currently have no CURL handle
|
||||||
|
argument, but both can use a callback that is set in the easy handle, and
|
||||||
|
thus curl_formget() with callback cannot function without first having
|
||||||
|
curl_easy_perform() (or similar) called - which is hard to grasp and a design
|
||||||
|
mistake.
|
||||||
|
|
||||||
|
21.10 Add CURLOPT_MAIL_CLIENT option
|
||||||
|
|
||||||
|
Rather than use the URL to specify the mail client string to present in the
|
||||||
|
HELO and EHLO commands, libcurl should support a new CURLOPT specifically for
|
||||||
|
specifying this data as the URL is non-standard and to be honest a bit of a
|
||||||
|
hack ;-)
|
||||||
|
|
||||||
|
Please see the following thread for more information:
|
||||||
|
http://curl.haxx.se/mail/lib-2012-05/0178.html
|
||||||
|
|
||||||
|
@@ -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
|
||||||
https://curl.haxx.se or https://yourbank.com a million times. RFC 3986 is the
|
http://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 https://curl.haxx.se
|
curl http://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:
|
||||||
|
|
||||||
https://curl.haxx.se/docs/sslcerts.html
|
http://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
|
||||||
|
|
||||||
https://curl.haxx.se is the home of the cURL project
|
http://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 https://curl.haxx.se/docs/copyright.html.
|
.\" * are also available at http://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
|
||||||
|
39
docs/curl.1
39
docs/curl.1
@@ -5,11 +5,11 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2015, 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 https://curl.haxx.se/docs/copyright.html.
|
.\" * are also available at http://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
|
||||||
@@ -523,13 +523,6 @@ after having run curl.
|
|||||||
(SSL) Specify the path name to the Entropy Gathering Daemon socket. The socket
|
(SSL) Specify the path name to the Entropy Gathering Daemon socket. The socket
|
||||||
is used to seed the random engine for SSL connections. See also the
|
is used to seed the random engine for SSL connections. See also the
|
||||||
\fI--random-file\fP option.
|
\fI--random-file\fP option.
|
||||||
.IP "--expect100-timeout <seconds>"
|
|
||||||
(HTTP) Maximum time in seconds that you allow curl to wait for a 100-continue
|
|
||||||
response when curl emits an Expects: 100-continue header in its request. By
|
|
||||||
default curl will wait one second. This option accepts decimal values! When
|
|
||||||
curl stops waiting, it will continue as if the response has been received.
|
|
||||||
|
|
||||||
(Added in 7.47.0)
|
|
||||||
.IP "--cert-type <type>"
|
.IP "--cert-type <type>"
|
||||||
(SSL) Tells curl what certificate type the provided certificate is in. PEM,
|
(SSL) Tells curl what certificate type the provided certificate is in. PEM,
|
||||||
DER and ENG are recognized types. If not specified, PEM is assumed.
|
DER and ENG are recognized types. If not specified, PEM is assumed.
|
||||||
@@ -828,17 +821,8 @@ 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
|
||||||
@@ -846,7 +830,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:
|
||||||
\fBhttps://curl.haxx.se/docs/sslcerts.html\fP
|
\fBhttp://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
|
||||||
@@ -873,7 +857,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 = "https://curl.haxx.se/docs/"
|
url = "http://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
|
||||||
@@ -1199,15 +1183,12 @@ 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 file will be saved in the current working directory. If you want the file
|
The remote file name to use for saving is extracted from the given URL,
|
||||||
saved in a different directory, make sure you change the current working
|
nothing else.
|
||||||
directory before invoking curl with this option.
|
|
||||||
|
|
||||||
The remote file name to use for saving is extracted from the given URL, nothing
|
Consequentially, the file will be saved in the current working directory. If
|
||||||
else, and if it already exists it will be overwritten. If you want the server
|
you want the file saved in a different directory, make sure you change current
|
||||||
to be able to choose the file name refer to \fI-J, --remote-header-name\fP
|
working directory before you invoke curl with the \fB-O, --remote-name\fP flag!
|
||||||
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.
|
||||||
@@ -2347,7 +2328,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
|
||||||
https://curl.haxx.se
|
http://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"
|
||||||
|
4
docs/examples/.gitignore
vendored
4
docs/examples/.gitignore
vendored
@@ -73,7 +73,3 @@ smtp-vrfy
|
|||||||
url2file
|
url2file
|
||||||
usercertinmem
|
usercertinmem
|
||||||
xmlstream
|
xmlstream
|
||||||
http2-download
|
|
||||||
http2-serverpush
|
|
||||||
http2-upload
|
|
||||||
imap-lsub
|
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2015, 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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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,7 +32,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \
|
|||||||
imap-list imap-lsub imap-fetch imap-store imap-append imap-examine \
|
imap-list imap-lsub imap-fetch imap-store imap-append imap-examine \
|
||||||
imap-search imap-create imap-delete imap-copy imap-noop imap-ssl \
|
imap-search imap-create imap-delete imap-copy imap-noop imap-ssl \
|
||||||
imap-tls imap-multi url2file sftpget ftpsget postinmemory http2-download \
|
imap-tls imap-multi url2file sftpget ftpsget postinmemory http2-download \
|
||||||
http2-upload http2-serverpush getredirect
|
http2-upload http2-serverpush
|
||||||
|
|
||||||
# These examples require external dependencies that may not be commonly
|
# These examples require external dependencies that may not be commonly
|
||||||
# available on POSIX systems, so don't bother attempting to compile them here.
|
# available on POSIX systems, so don't bother attempting to compile them here.
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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,7 +32,51 @@ actually torture our web site with your tests! Thanks.
|
|||||||
|
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
|
|
||||||
Each example source code file is designed to be and work stand-alone and
|
anyauthput.c - HTTP PUT using "any" authentication method
|
||||||
rather self-explanatory. The examples may at times lack the level of error
|
cacertinmem.c - Use a built-in PEM certificate to retrieve a https page
|
||||||
checks you need in a real world, but that is then only for the sake of
|
cookie_interface.c - shows usage of simple cookie interface
|
||||||
readability: to make the code smaller and easier to follow.
|
curlgtk.c - download using a GTK progress bar
|
||||||
|
curlx.c - getting file info from the remote cert data
|
||||||
|
debug.c - showing how to use the debug callback
|
||||||
|
fileupload.c - uploading to a file:// URL
|
||||||
|
fopen.c - fopen() layer that supports opening URLs and files
|
||||||
|
ftpget.c - simple getting a file from FTP
|
||||||
|
ftpgetresp.c - get the response strings from the FTP server
|
||||||
|
ftpupload.c - upload a file to an FTP server
|
||||||
|
ftpuploadresume.c - resume an upload to an FTP server
|
||||||
|
getinfo.c - get the Content-Type from the recent transfer
|
||||||
|
getinmemory.c - download a file to memory only
|
||||||
|
ghiper.c - curl_multi_socket() using code with glib-2
|
||||||
|
hiperfifo.c - downloads all URLs written to the fifo, using
|
||||||
|
curl_multi_socket() and libevent
|
||||||
|
htmltidy.c - download a document and use libtidy to parse the HTML
|
||||||
|
htmltitle.cc - download a HTML file and extract the <title> tag from a HTML
|
||||||
|
page using libxml
|
||||||
|
http-post.c - HTTP POST
|
||||||
|
httpput.c - HTTP PUT a local file
|
||||||
|
https.c - simple HTTPS transfer
|
||||||
|
imap.c - simple IMAP transfer
|
||||||
|
multi-app.c - a multi-interface app
|
||||||
|
multi-debugcallback.c - a multi-interface app using the debug callback
|
||||||
|
multi-double.c - a multi-interface app doing two simultaneous transfers
|
||||||
|
multi-post.c - a multi-interface app doing a multipart formpost
|
||||||
|
multi-single.c - a multi-interface app getting a single file
|
||||||
|
multi-uv.c - a multi-interface app using libuv
|
||||||
|
multithread.c - an example using multi-treading transferring multiple files
|
||||||
|
opensslthreadlock.c - show how to do locking when using OpenSSL multi-threaded
|
||||||
|
persistant.c - request two URLs with a persistent connection
|
||||||
|
pop3s.c - POP3S transfer
|
||||||
|
pop3slist.c - POP3S LIST
|
||||||
|
post-callback.c - send a HTTP POST using a callback
|
||||||
|
postit2.c - send a HTTP multipart formpost
|
||||||
|
sampleconv.c - showing how a program on a non-ASCII platform would invoke
|
||||||
|
callbacks to do its own codeset conversions instead of using
|
||||||
|
the built-in iconv functions in libcurl
|
||||||
|
sepheaders.c - download headers to a separate file
|
||||||
|
simple.c - the most simple download a URL source
|
||||||
|
simplepost.c - HTTP POST
|
||||||
|
simplessl.c - HTTPS example with certificates many options set
|
||||||
|
synctime.c - Sync local time by extracting date from remote HTTP servers
|
||||||
|
url2file.c - download a document and store it in a file
|
||||||
|
xmlstream.c - Stream-parse a document using the streaming Expat parser
|
||||||
|
10-at-a-time.c - Download many files simultaneously, 10 at a time.
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# pass files as argument(s)
|
# pass files as argument(s)
|
||||||
|
|
||||||
my $docroot="https://curl.haxx.se/libcurl/c";
|
my $docroot="http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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,6 @@
|
|||||||
#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 */
|
||||||
|
|
||||||
@@ -379,9 +378,9 @@ static curl_socket_t opensocket(void *clientp, curlsocktype purpose,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* CURLOPT_CLOSESOCKETFUNCTION */
|
/* CURLOPT_CLOSESOCKETFUNCTION */
|
||||||
static int close_socket(void *clientp, curl_socket_t item)
|
static int closesocket(void *clientp, curl_socket_t item)
|
||||||
{
|
{
|
||||||
fprintf(MSG_OUT, "\nclose_socket : %d", item);
|
fprintf(MSG_OUT, "\nclosesocket : %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);
|
||||||
|
|
||||||
@@ -428,7 +427,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, close_socket);
|
curl_easy_setopt(conn->easy, CURLOPT_CLOSESOCKETFUNCTION, closesocket);
|
||||||
|
|
||||||
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);
|
||||||
@@ -442,6 +441,7 @@ 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 (https://www.openssl.org/)"
|
* for use in the OpenSSL Toolkit (http://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 (https://www.openssl.org/)"
|
* for use in the OpenSSL Toolkit (http://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 (https://www.openssl.org/)
|
* for use in the OpenSSL Toolkit (http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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) {
|
||||||
/* https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html */
|
/* http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
|
@@ -1,70 +0,0 @@
|
|||||||
/***************************************************************************
|
|
||||||
* _ _ ____ _
|
|
||||||
* Project ___| | | | _ \| |
|
|
||||||
* / __| | | | |_) | |
|
|
||||||
* | (__| |_| | _ <| |___
|
|
||||||
* \___|\___/|_| \_\_____|
|
|
||||||
*
|
|
||||||
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
||||||
*
|
|
||||||
* This software is licensed as described in the file COPYING, which
|
|
||||||
* you should have received as part of this distribution. The terms
|
|
||||||
* are also available at https://curl.haxx.se/docs/copyright.html.
|
|
||||||
*
|
|
||||||
* 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
|
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
|
||||||
*
|
|
||||||
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
||||||
* KIND, either express or implied.
|
|
||||||
*
|
|
||||||
***************************************************************************/
|
|
||||||
/* <DESC>
|
|
||||||
* Show how to extract Location: header and URL to redirect to.
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <curl/curl.h>
|
|
||||||
|
|
||||||
int main(void)
|
|
||||||
{
|
|
||||||
CURL *curl;
|
|
||||||
CURLcode res;
|
|
||||||
char *location;
|
|
||||||
long response_code;
|
|
||||||
|
|
||||||
curl = curl_easy_init();
|
|
||||||
if(curl) {
|
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
|
|
||||||
|
|
||||||
/* example.com is redirected, figure out the redirection! */
|
|
||||||
|
|
||||||
/* Perform the request, res will get the return code */
|
|
||||||
res = curl_easy_perform(curl);
|
|
||||||
/* Check for errors */
|
|
||||||
if(res != CURLE_OK)
|
|
||||||
fprintf(stderr, "curl_easy_perform() failed: %s\n",
|
|
||||||
curl_easy_strerror(res));
|
|
||||||
else {
|
|
||||||
res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code);
|
|
||||||
if((res == CURLE_OK) &&
|
|
||||||
((response_code / 100) != 3)) {
|
|
||||||
/* a redirect implies a 3xx response code */
|
|
||||||
fprintf(stderr, "Not a redirect.\n");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
res = curl_easy_getinfo(curl, CURLINFO_REDIRECT_URL, &location);
|
|
||||||
|
|
||||||
if((res == CURLE_OK) && location) {
|
|
||||||
/* This is the new absolute URL that you could redirect to, even if
|
|
||||||
* the Location: response header may have been a relative URL. */
|
|
||||||
printf("Redirected to: %s\n", location);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* always cleanup */
|
|
||||||
curl_easy_cleanup(curl);
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -25,7 +25,6 @@
|
|||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
/* somewhat unix-specific */
|
/* somewhat unix-specific */
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -25,7 +25,6 @@
|
|||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
/* somewhat unix-specific */
|
/* somewhat unix-specific */
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -25,7 +25,6 @@
|
|||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,10 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
/* <DESC>
|
||||||
* IMAP example showing how to send e-mails
|
* Simple IMAP APPEND use
|
||||||
* </DESC>
|
* </DESC>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to copy an e-mail from one folder to another
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to create a new folder
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to delete a folder
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to obtain information about a folder
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to retreieve e-mails
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example to list the folders within a mailbox
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example to list the subscribed folders
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,14 +19,7 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example using the multi interface
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
/* This is a simple example showing how to fetch mail using libcurl's IMAP
|
/* This is a simple example showing how to fetch mail using libcurl's IMAP
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to perform a noop
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to search for new e-mails
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example using SSL
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example showing how to modify the properties of an e-mail
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, 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 https://curl.haxx.se/docs/copyright.html.
|
* are also available at http://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
|
||||||
@@ -19,12 +19,6 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* <DESC>
|
|
||||||
* IMAP example using TLS
|
|
||||||
* </DESC>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@@ -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 https://curl.haxx.se/docs/copyright.html.
|
# are also available at http://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
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user