curl/lib
Guenter Knauf e42e3a4fac Check for ALPN via OpenSSL version number.
This check works also with to non-configure platforms.
2014-10-29 00:59:38 +01:00
..
vtls Check for ALPN via OpenSSL version number. 2014-10-29 00:59:38 +01:00
.gitignore
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-thread.c
asyn.h
base64.c cleanups: reduce variable scope 2014-10-14 09:44:06 +02:00
bundles.c
bundles.h
checksrc.pl
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
config-riscos.h
config-symbian.h
config-tpf.h
config-vxworks.h
config-win32.h
config-win32ce.h
conncache.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
conncache.h
connect.c code cleanup: We prefer 'CURLcode result' 2014-10-28 22:45:32 +00:00
connect.h
content_encoding.c
content_encoding.h
cookie.c
cookie.h
curl_addrinfo.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake
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 ntlm: Return CURLcode from Curl_ntlm_core_mk_lm_hash() 2014-10-26 09:14:34 +00:00
curl_ntlm_core.h ntlm: Return CURLcode from Curl_ntlm_core_mk_lm_hash() 2014-10-26 09:14:34 +00:00
curl_ntlm_msgs.c sspi: Synchronization of cleanup code between auth mechanisms 2014-10-26 14:51:58 +00:00
curl_ntlm_msgs.h
curl_ntlm_wb.c
curl_ntlm_wb.h
curl_ntlm.c ntlm: We prefer 'CURLcode result' 2014-10-26 21:15:20 +00:00
curl_ntlm.h ntlm: Only define ntlm data structure when USE_NTLM is defined 2014-10-25 22:36:49 +01:00
curl_rtmp.c
curl_rtmp.h
curl_sasl_sspi.c sasl_sspi: Fixed typo in comment 2014-10-28 23:57:46 +00:00
curl_sasl.c
curl_sasl.h
curl_sec.h
curl_setup_once.h
curl_setup.h vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c
dict.h
dotdot.c
dotdot.h
easy.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
easyif.h
escape.c code cleanup: We prefer 'CURLcode result' 2014-10-28 22:45:32 +00:00
escape.h
file.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
formdata.h
ftp.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
ftp.h
ftplistparser.c
ftplistparser.h
getenv.c
getinfo.c vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
getinfo.h
gopher.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
gopher.h
hash.c
hash.h
hmac.c
hostasyn.c
hostcheck.c vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
hostcheck.h
hostip4.c
hostip6.c
hostip.c
hostip.h
hostsyn.c
http2.c
http2.h
http_chunks.c
http_chunks.h
http_digest.c code cleanup: We prefer 'CURLcode result' 2014-10-28 22:45:32 +00:00
http_digest.h
http_negotiate_sspi.c sspi: Synchronization of cleanup code between auth mechanisms 2014-10-26 14:51:58 +00:00
http_negotiate.c http_negotiate: We prefer 'CURLcode result' 2014-10-26 16:38:21 +00:00
http_negotiate.h
http_proxy.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
http_proxy.h
http.c HTTP: return larger than 3 digit response codes too 2014-10-27 16:28:10 +01:00
http.h
idn_win32.c
if2ip.c
if2ip.h
imap.c
imap.h
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 vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
Makefile.m32 Added MinGW support to build with nghttp2. 2014-10-24 04:22:04 +02:00
Makefile.netware
Makefile.vc6 vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
Makefile.vxworks
Makefile.Watcom
md4.c
md5.c
memdebug.c
memdebug.h
mk-ca-bundle.pl mk-ca-bundle: spell fix "version" 2014-10-28 15:21:11 +01:00
mk-ca-bundle.vbs
mprintf.c
multi.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
multihandle.h
multiif.h
netrc.c
netrc.h
non-ascii.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
non-ascii.h
nonblock.c
nonblock.h
nwlib.c
nwos.c
objnames-test08.sh
objnames-test10.sh
objnames.inc
openldap.c
parsedate.c
parsedate.h
pingpong.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
pingpong.h
pipeline.c code cleanup: We prefer 'CURLcode result' 2014-10-28 22:45:32 +00:00
pipeline.h
pop3.c
pop3.h
progress.c
progress.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 code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
select.c
select.h
sendf.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
sendf.h
setup-os400.h vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
setup-vms.h
share.c vtls: renamed sslgen.[ch] to vtls.[ch] 2013-12-20 17:12:42 +01:00
share.h
sigpipe.h
slist.c
slist.h
smtp.c
smtp.h
sockaddr.h
socks_gssapi.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
socks_sspi.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
socks.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
ssh.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
ssh.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
telnet.h
tftp.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
tftp.h
timeval.c
timeval.h
transfer.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
transfer.h
url.c ntlm: Only define ntlm data structure when USE_NTLM is defined 2014-10-25 22:36:49 +01:00
url.h
urldata.h sspi: Renamed max token length variables 2014-10-26 14:43:02 +00:00
version.c
warnless.c
warnless.h
wildcard.c
wildcard.h
x509asn1.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
x509asn1.h Implement pinned public key in GSKit backend 2014-10-14 14:58:26 +02: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.