1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/lib
Daniel Stenberg cc4ac82bb6 mk-ca-bundle: add -f, support passing to stdout and more
1. When the downloaded data file from Mozilla is current, but the output
bundle does not exist: continue processing to create the bundle.  The
goal is to have the output file - not just download the latest input.

2. added -f option to force re-processing the file.  Useful for
debugging/testing the process.

3. added support for output to '-' (stdout), allowing the output to be
piped.

4. All progress and error messages go to STDERR rather than STDOUT (3)

5. The script opened and closed the output file many times
unnecessarily.  It now opens it once, does the output and closes it.

6. Backup of the input files happens after successful processing, not
before.

7. The output is written to a temporary file, and renamed to the
requested name after backup - this greatly reduces the window where the
file can be seen partially written.

8. all die calls have a \n at the end to suppress perl's traceback - the
traceback isn't useful to end users.

Patch: http://curl.haxx.se/mail/lib-2013-01/0045.html
2013-01-05 23:51:12 +01:00
..
.gitignore Removed libcurl.imp from Makefile.am. 2012-07-11 17:40:09 +02:00
checksrc.pl checksrc: detect "}else" uses as well 2011-09-07 22:45:43 +02:00
CMakeLists.txt build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
config-amigaos.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-dos.h lib/*.h: use our standard naming scheme for header inclusion guards 2012-12-28 18:21:40 +01:00
config-mac.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-os400.h build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config files 2012-04-11 19:33:54 +02:00
config-riscos.h curl tool: use configuration files from lib directory 2012-04-06 23:37:05 +02:00
config-symbian.h nss: unconditionally require PK11_CreateGenericObject() 2012-04-13 12:19:36 +02:00
config-tpf.h configure: Windows cross-compilation fixes 2012-04-09 21:24:16 +02:00
config-vms.h lib/*.h: use our standard naming scheme for header inclusion guards 2012-12-28 18:21:40 +01:00
config-vxworks.h nss: unconditionally require PK11_CreateGenericObject() 2012-04-13 12:19:36 +02:00
config-win32.h Changed Windows 64bit OS define to x86_64. 2011-09-20 12:32:04 +02:00
config-win32ce.h unicode NTLM SSPI: cleanup 2012-07-05 22:18:11 +02:00
curl_addrinfo.c build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_addrinfo.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_amigaos.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_amigaos.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_arpa_telnet.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_asyn_ares.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_asyn_thread.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_asyn.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_axtls.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_axtls.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_base64.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_base64.h base64: fix Curl_base64_encode and Curl_base64_decode interfaces 2011-08-24 08:10:30 +02:00
curl_bundles.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_bundles.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_config.h.cmake nss: unconditionally require PK11_CreateGenericObject() 2012-04-13 12:19:36 +02:00
curl_conncache.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_conncache.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_connect.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_connect.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_content_encoding.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_content_encoding.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_cookie.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_cookie.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_cyassl.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_cyassl.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_darwinssl.c build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_darwinssl.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_dict.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_dict.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_easy.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_easyif.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_escape.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_escape.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_file.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_file.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_fileinfo.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_fileinfo.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_fnmatch.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_fnmatch.h ftp wildcard: a new option CURLOPT_FNMATCH_DATA 2010-05-16 02:52:33 +02:00
curl_formdata.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_formdata.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ftp.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_ftp.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_ftplistparser.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_ftplistparser.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_getenv.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_gethostname.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_gethostname.h HOSTNAME_MAX: Moved to curl_gethostname.h 2011-09-25 23:58:47 +02:00
curl_getinfo.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_getinfo.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_gopher.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_gopher.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_gssapi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_gssapi.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_gtls.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_gtls.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_hash.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hash.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_hmac.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hmac.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
curl_hostasyn.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hostcheck.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hostcheck.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_hostip4.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hostip6.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hostip.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_hostip.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_hostsyn.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http_chunks.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http_chunks.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_digest.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http_digest.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_negotiate_sspi.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http_negotiate.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http_negotiate.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http_proxy.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http_proxy.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_http.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_http.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_idn_win32.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_if2ip.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_if2ip.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_imap.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_imap.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_inet_ntop.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_inet_ntop.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_inet_pton.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_inet_pton.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_krb4.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_krb4.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_krb5.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_ldap.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_ldap.h lib/*.h: use our standard naming scheme for header inclusion guards 2012-12-28 18:21:40 +01:00
curl_llist.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_llist.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_md4.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_md4.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_md5.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_md5.h Fixed compile error with GNUTLS+NETTLE 2012-05-22 16:40:09 +02:00
curl_memdebug.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_memdebug.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_memory.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
curl_memrchr.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_memrchr.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_mprintf.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_multi.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_multibyte.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_multibyte.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_multiif.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_netrc.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_netrc.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_non_ascii.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_non_ascii.h build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_nonblock.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_nonblock.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_nss.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_nssg.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_ntlm_core.c build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_ntlm_core.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_msgs.c build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_ntlm_msgs.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_wb.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm_wb.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_ntlm.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_nwlib.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_nwos.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_openldap.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_parsedate.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_parsedate.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_pingpong.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_pingpong.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_polarssl.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_polarssl.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_pop3.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_pop3.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_progress.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_progress.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_qssl.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_qssl.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_rand.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_rand.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
curl_rawstr.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_rawstr.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_rtmp.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_rtmp.h include libcurl standard internal headers 2010-06-02 14:13:02 +02:00
curl_rtsp.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_rtsp.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_sasl.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_sasl.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_schannel.c build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_schannel.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_security.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_select.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_select.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_sendf.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_sendf.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_setup_once.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_setup.h curl_setup.h: remove redundant include guard 2013-01-02 22:27:36 +01:00
curl_share.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_share.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_slist.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_slist.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_smtp.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_smtp.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_sockaddr.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_socks_gssapi.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_socks_sspi.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_socks.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_socks.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_speedcheck.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_speedcheck.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_splay.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_splay.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ssh.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_ssh.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_sslgen.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_sslgen.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_ssluse.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_ssluse.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_sspi.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_sspi.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_strdup.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_strdup.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strequal.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_strequal.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strerror.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_strerror.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strtok.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_strtok.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_strtoofft.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_strtoofft.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_telnet.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_telnet.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_tftp.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_tftp.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_threads.c build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_threads.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
curl_timeval.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_timeval.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_transfer.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_transfer.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_url.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_url.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_urldata.h build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
curl_version.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_warnless.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_warnless.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curl_wildcard.c build: rename 93 lib/*.c files 2013-01-03 06:13:18 +01:00
curl_wildcard.h build: rename 76 lib/*.h files 2012-12-28 20:21:56 +01:00
curlx.h build: make use of 76 lib/*.h renamed files 2012-12-28 19:37:11 +01:00
firefox-db2pem.sh remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
libcurl.def Yang Tse: msvc7+ has deprecated the 'DESCRIPTION' section in 2005-11-14 07:48:05 +00:00
libcurl.plist removed trailing whitespace 2011-12-30 03:36:18 +01:00
libcurl.rc remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
libcurl.vers.in configure: add symbols versioning option 2011-12-19 23:25:36 +01:00
Makefile.am test 1222: 8 chars object name generation && test 1221: adjustments 2013-01-03 19:24:00 +01:00
makefile.amiga curl tool: use configuration files from lib directory - follow-up I 2012-04-07 00:31:24 +02:00
Makefile.b32 Updated dependency libary versions. 2012-05-22 04:15:37 +02:00
makefile.dj Changed email per Gisle's request. 2011-04-16 00:11:43 +02:00
Makefile.inc build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
Makefile.m32 Added .def file to output. 2012-11-08 18:50:48 +01:00
Makefile.netware build: commit 13606bbfde follow-up 1 2013-01-03 10:54:18 +01:00
Makefile.vc6 build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
Makefile.vxworks Updated dependency libary versions. 2012-05-22 04:15:37 +02:00
Makefile.Watcom Updated dependency libary versions. 2012-05-22 04:15:37 +02:00
mk-ca-bundle.pl mk-ca-bundle: add -f, support passing to stdout and more 2013-01-05 23:51:12 +01:00
mk-ca-bundle.vbs Fix to skip untrusted certs. 2011-11-08 05:46:46 +01:00
msvcproj.foot Store now this file in CVS with unix line endings. 2010-01-15 20:23:35 +00:00
msvcproj.head VC6 IDE: link with advapi32.lib when using WIN32 crypto API (md5.c) 2012-12-18 13:29:45 +01:00
objnames-test08.sh test 1222: 8 chars object name generation && test 1221: adjustments 2013-01-03 19:24:00 +01:00
objnames-test10.sh test 1222: 8 chars object name generation && test 1221: adjustments 2013-01-03 19:24:00 +01:00
objnames.inc test 1222: 8 chars object name generation && test 1221: adjustments 2013-01-03 19:24:00 +01:00
README.ares README.ares: we know require c-ares 1.6.0 2010-09-30 23:14:58 +02:00
README.curl_off_t spell! (most of it fixed by Tor Arntsen) 2008-08-27 06:10:47 +00:00
README.curlx build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
README.encoding transfer-encoding: document the options 2011-04-18 19:46:21 +02:00
README.hostip build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
README.httpauth HTTP "auth done right". See lib/README.httpauth 2004-11-24 16:11:35 +00:00
README.memoryleak remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
README.multi_socket update the section on timeouts 2010-04-12 11:09:55 +02:00
README.pingpong introducing IMAP, POP3 and SMTP support (still lots of polish left to do) 2009-12-12 21:54:01 +00:00
README.pipelining updated to reflect reality 2006-10-29 09:11:44 +00:00
setup-os400.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
vc6libcurl.dsw Fix CR 2009-05-08 19:09:36 +00:00
vc8proj.foot Use DOS line-endings. 2007-01-29 19:08:04 +00:00
vc8proj.head - I renamed everything in the windows builds files that used the name 'curllib' 2009-02-23 09:36:54 +00:00

HTTP Pipelining with libcurl
============================

Background

Since pipelining implies that one or more requests are sent to a server before
the previous response(s) have been received, we only support it for multi
interface use.

Considerations

When using the multi interface, you create one easy handle for each transfer.
Bascially any number of handles can be created, added and used with the multi
interface - simultaneously. It is an interface designed to allow many
simultaneous transfers while still using a single thread. Pipelining does not
change any of these details.

API

We've added a new option to curl_multi_setopt() called CURLMOPT_PIPELINING
that enables "attempted pipelining" and then all easy handles used on that
handle will attempt to use an existing pipeline.

Details

- A pipeline is only created if a previous connection exists to the same IP
  address that the new request is being made to use.

- Pipelines are only supported for HTTP(S) as no other currently supported
  protocol has features resemembling this, but we still name this feature
  plain 'pipelining' to possibly one day support it for other protocols as
  well.

- HTTP Pipelining is for GET and HEAD requests only.

- When a pipeline is in use, we must take precautions so that when used easy
  handles (i.e those who still wait for a response) are removed from the multi
  handle, we must deal with the outstanding response nicely.

- Explicitly asking for pipelining handle X and handle Y won't be supported.
  It isn't easy for an app to do this association. The lib should probably
  still resolve the second one properly to make sure that they actually _can_
  be considered for pipelining. Also, asking for explicit pipelining on handle
  X may be tricky when handle X get a closed connection.

- We need options to control max pipeline length, and probably how to behave
  if we reach that limit. As was discussed on the list, it can probably be
  made very complicated, so perhaps we can think of a way to pass all
  variables involved to a callback and let the application decide how to act
  in specific situations. Either way, these fancy options are only interesting
  to work on when everything is working and we have working apps to test with.