curl/lib
Kamil Dudka 865666afca nss: unconditionally require NSS_InitContext()
... since we depend on NSS 3.14+ because of SSL_VersionRangeSet() anyway
2013-12-02 15:00:13 +01:00
..
.gitignore
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c ares: Fixed compilation under Visual Studio 2012 2013-11-10 17:37:32 +00:00
asyn-thread.c
asyn.h
axtls.c SSL: protocol version can be specified more precisely 2013-10-15 20:26:47 +02:00
axtls.h
base64.c base64: Corrected typo from commit f3ee587775 2013-12-01 16:43:57 +00:00
bundles.c
bundles.h
checksrc.pl
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h OS400: sync RPG wrapper, zlib support, fix header file names, ... 2013-10-25 18:37:37 +02:00
config-riscos.h
config-symbian.h
config-tpf.h
config-vxworks.h
config-win32.h
config-win32ce.h
conncache.c
conncache.h
connect.c connect: Try next ip directly after immediate connect fail 2013-11-27 22:26:43 +01:00
connect.h connect.h: Updated copyright year for last edit 2013-11-05 07:15:01 +00:00
content_encoding.c
content_encoding.h
cookie.c
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake
curl_darwinssl.c darwinssl: check for SSLSetSessionOption() presence when toggling BEAST 2013-11-12 20:26:20 -06:00
curl_darwinssl.h
curl_fnmatch.c
curl_fnmatch.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_ntlm_msgs.c
curl_ntlm_msgs.h
curl_ntlm_wb.c winbind: Fixed ntlm_auth expecting eol following commit e17c1b25bc 2013-11-04 20:12:22 +00:00
curl_ntlm_wb.h
curl_ntlm.c http: Added authentication message header value extraction 2013-10-31 19:15:33 +00:00
curl_ntlm.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c base64: Fixed compilation warnings when using Curl_base64_decode() 2013-11-03 12:25:07 +00:00
curl_sasl.h email: Added support for cancelling NTLM authentication 2013-10-27 22:25:18 +00:00
curl_schannel.c SSL: protocol version can be specified more precisely 2013-10-15 20:26:47 +02:00
curl_schannel.h
curl_sec.h
curl_setup_once.h curl_setup_once: fix errno access for lwip on Windows 2013-10-09 14:45:42 +02:00
curl_setup.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
cyassl.c SSL: protocol version can be specified more precisely 2013-10-15 20:26:47 +02:00
cyassl.h
dict.c
dict.h
dotdot.c
dotdot.h
easy.c sigpipe: factor out sigpipe_reset from easy.c 2013-11-27 22:46:55 +01:00
easyif.h
escape.c
escape.h
file.c
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c
formdata.h
ftp.c connect: Close temporary sockets in conn_free() 2013-11-10 22:49:56 +00:00
ftp.h FTP: make the data connection work when going through proxy 2013-10-26 23:33:06 +02:00
ftplistparser.c
ftplistparser.h
getenv.c
getinfo.c curl_easy_getinfo: Post CURLINFO_TLS_SESSION tidy up 2013-11-30 11:08:56 +00:00
getinfo.h
gopher.c
gopher.h
gskit.c gskit.c: Code policing following commit 2cc9246477 2013-10-26 00:57:45 +01:00
gskit.h
gtls.c
gtls.h
hash.c
hash.h
hmac.c
hostasyn.c
hostcheck.c NSS: support for CERTINFO feature 2013-10-30 11:12:06 +01:00
hostcheck.h
hostip4.c
hostip6.c
hostip.c hostip: don't prune DNS cache entries that are in use 2013-11-25 00:10:23 +01:00
hostip.h
hostsyn.c
http2.c
http2.h
http_chunks.c
http_chunks.h
http_digest.c http: Added authentication message header value extraction 2013-10-31 19:15:33 +00:00
http_digest.h
http_negotiate_sspi.c http: Post base64 decoding tidy up 2013-11-03 10:17:26 +00:00
http_negotiate.c http: Post base64 decoding tidy up 2013-11-03 10:17:26 +00:00
http_negotiate.h
http_proxy.c http: Post base64 decoding tidy up 2013-11-03 10:17:26 +00:00
http_proxy.h
http.c http: Post base64 decoding tidy up 2013-11-03 10:17:26 +00:00
http.h http: Post base64 decoding tidy up 2013-11-03 10:17:26 +00:00
idn_win32.c
if2ip.c
if2ip.h
imap.c email: Post graceful SASL authentication cancellation tidy up 2013-10-30 20:58:24 +00:00
imap.h email: Added initial support for cancelling authentication 2013-10-27 09:17:03 +00:00
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c
ldap.c
libcurl.def
libcurl.plist
libcurl.rc
libcurl.vers.in
llist.c
llist.h
Makefile.am
makefile.amiga
Makefile.b32
makefile.dj
Makefile.inc sigpipe: factor out sigpipe_reset from easy.c 2013-11-27 22:46:55 +01:00
Makefile.m32
Makefile.netware
Makefile.vc6
Makefile.vxworks
Makefile.Watcom
md4.c
md5.c
memdebug.c
memdebug.h
mk-ca-bundle.pl
mk-ca-bundle.vbs
mprintf.c
multi.c multi.c: Fixed compilation warning 2013-12-01 20:22:57 +00:00
multihandle.h
multiif.h
netrc.c
netrc.h
non-ascii.c
non-ascii.h
nonblock.c
nonblock.h
nss.c nss: unconditionally require NSS_InitContext() 2013-12-02 15:00:13 +01:00
nssg.h
nwlib.c
nwos.c
objnames-test08.sh
objnames-test10.sh
objnames.inc
openldap.c
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pipeline.c
pipeline.h
polarssl_threadlock.c
polarssl_threadlock.h
polarssl.c
polarssl.h
pop3.c email: Corrected a couple of typos from commit aa0eaef483 2013-10-30 21:25:15 +00:00
pop3.h email: Added initial support for cancelling authentication 2013-10-27 09:17:03 +00:00
progress.c
progress.h
qssl.c SSL: protocol version can be specified more precisely 2013-10-15 20:26:47 +02:00
qssl.h
rawstr.c
rawstr.h
README.ares
README.curl_off_t
README.curlx
README.encoding
README.hostip
README.http2
README.httpauth
README.memoryleak
README.multi_socket
README.pingpong
README.pipelining
rtsp.c
rtsp.h
security.c
select.c
select.h
sendf.c
sendf.h
setup-os400.h OS400: coding style standards 2013-10-28 12:00:22 +01:00
setup-vms.h
share.c
share.h
sigpipe.h sigpipe: factor out sigpipe_reset from easy.c 2013-11-27 22:46:55 +01:00
slist.c
slist.h
smtp.c smtp: Post SMTP command expansion tidy up 2013-11-23 09:35:44 +00:00
smtp.h smtp: Added support for VRFY and EXPN commands 2013-11-15 18:25:29 +00:00
sockaddr.h
socks_gssapi.c
socks_sspi.c
socks.c FTP: make the data connection work when going through proxy 2013-10-26 23:33:06 +02:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
ssh.c ssh: initialize per-handle data in ssh_connect() 2013-10-21 19:00:06 +02:00
ssh.h
sslgen.c Curl_ssl_push_certinfo_len: don't %.*s non-zero-terminated string 2013-11-05 09:59:19 +01:00
sslgen.h
ssluse.c SSL: Follow up work to commits 6a1363128f and 87861c9b0e 2013-10-17 19:57:26 +01:00
ssluse.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c
telnet.h
tftp.c
tftp.h
timeval.c
timeval.h
transfer.c
transfer.h
url.c curl_easy_setopt: Added the ability to set the login options separately 2013-11-12 19:08:55 +00:00
url.h FTP: make the data connection work when going through proxy 2013-10-26 23:33:06 +02:00
urldata.h curl_easy_getinfo: Post CURLINFO_TLS_SESSION tidy up 2013-11-30 11:08:56 +00:00
version.c
warnless.c
warnless.h
wildcard.c
wildcard.h
x509asn1.c x509asn1.c: Fixed compilation warnings 2013-11-03 16:24:17 +00:00
x509asn1.h NSS: support for CERTINFO feature 2013-10-30 11:12:06 +01: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.