curl/lib
2015-01-07 22:55:56 +01:00
..
vtls
.gitignore
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-thread.c code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
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
config-riscos.h
config-symbian.h
config-tpf.h
config-vxworks.h
config-win32.h
config-win32ce.h
conncache.c
conncache.h
connect.c code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
connect.h code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
content_encoding.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
content_encoding.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
cookie.c cookies: Improved OOM handling in cookies 2014-12-09 23:58:30 +01:00
cookie.h cookies: follow-up fix for path checking 2013-06-12 11:19:56 +02:00
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake
curl_endian.c
curl_endian.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 WIN32 MemoryTracking: require UNICODE for wide strdup code support 2013-07-19 12:33:10 +02:00
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
curl_ntlm_wb.h
curl_ntlm.c
curl_ntlm.h
curl_rtmp.c
curl_rtmp.h
curl_sasl_gssapi.c
curl_sasl_sspi.c
curl_sasl.c
curl_sasl.h
curl_sec.h
curl_setup_once.h
curl_setup.h compile: warn on unused return code from Curl_client_write() 2014-12-08 15:31:53 +01:00
curl_sspi.c
curl_sspi.h
curl_threads.c win32: Updated some legacy APIs to use the newer extended versions 2014-11-16 17:30:17 +00:00
curl_threads.h win32: Updated some legacy APIs to use the newer extended versions 2014-11-16 17:30:17 +00:00
curlx.h
dict.c
dict.h
dotdot.c copyright: Updated following recent edits 2014-04-28 23:20:52 +01:00
dotdot.h copyright: Updated following recent edits 2014-04-28 23:20:52 +01:00
easy.c Curl_client_write() & al.: chop long data, convert data only once. 2014-12-09 15:43:51 +01: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 Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c curl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of bounds 2014-11-05 08:05:14 +01:00
formdata.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
ftp.c code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
ftp.h
ftplistparser.c code/docs: Use Unix rather than UNIX to avoid use of the trademark 2014-12-26 21:42:44 +00:00
ftplistparser.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
getenv.c VMS: fix and generate the VMS build config 2013-02-05 23:08:57 +01:00
getinfo.c getinfo: Code style policing 2014-12-27 17:49:33 +00:00
getinfo.h
gopher.c
gopher.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
hash.c string formatting: fix 25+ printf-style format strings 2013-07-24 01:21:26 +02:00
hash.h
hmac.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
hostasyn.c code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
hostcheck.c vtls: remove QsoSSL 2014-10-13 16:33:47 +02:00
hostcheck.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
hostip4.c code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
hostip6.c code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
hostip.c
hostip.h hostip: remove 'stale' argument from Curl_fetch_addr proto 2015-01-07 14:06:12 +00:00
hostsyn.c
http2.c http2: Use 'CURLcode result' for curl result codes 2014-12-14 13:11:35 +00:00
http2.h http2: fix switched macro when http2 is not enabled 2014-11-13 15:39:15 +01:00
http_chunks.c chunked-encoding: provide a readable error string for chunked errors 2014-03-14 15:44:18 +01:00
http_chunks.h chunked-encoding: provide a readable error string for chunked errors 2014-03-14 15:44:18 +01:00
http_digest.c
http_digest.h http_digest: Moved algorithm definitions to SASL module 2014-11-05 13:40:08 +00:00
http_negotiate_sspi.c
http_negotiate.c
http_negotiate.h
http_proxy.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
http_proxy.h remote_port: allow connect to port 0 2014-03-05 17:38:05 +00:00
http.c http_perhapsrewind: don't abort CONNECT requests 2014-12-04 14:46:31 -08: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 ldap: Convert attribute output to UTF-8 when Unicode 2015-01-07 20:01:29 +00:00
libcurl.def
libcurl.plist
libcurl.rc remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
libcurl.vers.in configure: use XC_LIBTOOL for portability across libtool versions 2013-03-08 13:27:45 +01:00
llist.c
llist.h
Makefile.am vtls: created subdir, moved sslgen.[ch] there, updated all include lines 2013-12-20 17:12:42 +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 build: updated dependencies in makefiles. 2014-12-05 14:54:25 +01:00
makefile.dj
Makefile.inc
Makefile.m32 build: updated dependencies in makefiles. 2014-12-05 14:54:25 +01:00
Makefile.netware
Makefile.vc6 endian: Fixed Linux compilation issues 2014-12-31 14:02:25 +00:00
Makefile.vxworks build: updated dependencies in makefiles. 2014-12-05 14:54:25 +01:00
Makefile.Watcom
md4.c OS400: enable NTLM authentication 2014-12-05 18:42:39 +01:00
md5.c
memdebug.c curl_dofree: allow free(NULL) 2013-12-25 23:30:25 +01:00
memdebug.h WIN32 MemoryTracking: require UNICODE for wide strdup code support 2013-07-19 12:33:10 +02:00
mk-ca-bundle.pl mk-ca-bundle.pl: restored forced run again. 2014-12-13 13:46:45 +01:00
mk-ca-bundle.vbs
mprintf.c mprintf: allow %.s with data not being zero terminated 2014-05-04 23:39:52 +02:00
multi.c hostip: remove 'stale' argument from Curl_fetch_addr proto 2015-01-07 14:06:12 +00:00
multihandle.h
multiif.h multi: inform about closed sockets before they are closed 2014-11-19 13:22:07 +01:00
netrc.c netrc: fixed thread safety problem by using getpwuid_r if available 2014-07-13 00:27:22 +02:00
netrc.h
non-ascii.c
non-ascii.h
nonblock.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
nonblock.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
nwlib.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
nwos.c
objnames-test08.sh
objnames-test10.sh
objnames.inc test 1222: 8 chars object name generation && test 1221: adjustments 2013-01-03 19:24:00 +01:00
openldap.c openldap: Prefer use of 'CURLcode result' 2014-12-27 22:50:50 +00:00
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pipeline.c
pipeline.h
pop3.c
pop3.h
progress.c Ensure progress.size_dl/progress.size_ul are always >= 0 2014-09-07 23:23:12 +02:00
progress.h timers: fix timer regression involving redirects / reconnects 2014-05-15 21:28:19 +02:00
rawstr.c build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
rawstr.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
README.ares
README.curl_off_t
README.curlx
README.encoding transfer-encoding: document the options 2011-04-18 19:46:21 +02:00
README.hostip code/docs: Use correct case for IPv4 and IPv6 2014-12-27 11:31:55 +00:00
README.http2
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
README.pipelining Multiple pipelines and limiting the number of connections. 2013-03-13 23:55:24 +01:00
rtsp.c
rtsp.h
security.c code cleanup: we prefer 'CURLcode result' 2014-10-24 08:23:19 +02:00
select.c select.c: fix compilation for VxWorks 2014-11-25 08:55:17 +01:00
select.h curl_global_init: accept the CURL_GLOBAL_ACK_EINTR flag 2013-03-12 10:58:20 +01:00
sendf.c
sendf.h Curl_client_write() & al.: chop long data, convert data only once. 2014-12-09 15:43:51 +01:00
setup-os400.h
setup-vms.h VMS: Updates for 0740-0D1220 2014-12-21 16:55:28 +01:00
share.c
share.h
sigpipe.h
slist.c slist.c: Curl_slist_append_nodup() OOM handling fix 2013-07-16 23:59:05 +02:00
slist.h
smb.c
smb.h
smtp.c
smtp.h
sockaddr.h
socks_gssapi.c sasl_gssapi: Fixed honouring of no mutual authentication 2014-12-04 22:05:14 +00:00
socks_sspi.c
socks.c
socks.h
speedcheck.c low-speed-limit: avoid timeout flood 2014-08-31 23:50:01 +02:00
speedcheck.h
splay.c
splay.h
ssh.c SFTP: work-around servers that return zero size on STAT 2014-12-16 09:49:17 +01:00
ssh.h libssh2: detect features based on version, not configure checks 2014-11-09 15:43:27 +01:00
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c
strerror.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c telnet: fix "cast increases required alignment of target type" 2014-12-11 09:15:04 +01:00
telnet.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tftp.c
tftp.h
timeval.c win32: Updated some legacy APIs to use the newer extended versions 2014-11-16 17:30:17 +00:00
timeval.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
transfer.c transfer: Code style policing 2014-11-30 15:06:16 +00:00
transfer.h Curl_perfom: removed 2013-02-01 08:14:46 +01:00
url.c url-parsing: reject CRLFs within URLs 2015-01-07 22:55:56 +01:00
url.h FTP: make the data connection work when going through proxy 2013-10-26 23:33:06 +02:00
urldata.h
version.c
warnless.c
warnless.h tool_getparam.c: Fixed compilation warnings 2014-05-22 21:01:51 +01:00
wildcard.c
wildcard.h
x509asn1.c
x509asn1.h

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.