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
checksrc.pl
CMakeLists.txt build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
config-amigaos.h
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
config-os400.h
config-riscos.h
config-symbian.h
config-tpf.h
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
config-win32.h
config-win32ce.h
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
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
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
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
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
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
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
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
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
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
libcurl.def
libcurl.plist
libcurl.rc
libcurl.vers.in
Makefile.am test 1222: 8 chars object name generation && test 1221: adjustments 2013-01-03 19:24:00 +01:00
makefile.amiga
Makefile.b32
makefile.dj
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
Makefile.Watcom
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
msvcproj.foot
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.curl_off_t
README.curlx build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
README.encoding
README.hostip build: make use of 93 lib/*.c renamed files 2013-01-03 05:50:26 +01:00
README.httpauth
README.memoryleak
README.multi_socket
README.pingpong
README.pipelining
setup-os400.h
vc6libcurl.dsw
vc8proj.foot
vc8proj.head

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.