curl/lib
Daniel Stenberg c6e3081090 polarssl.h: remove CVS leftover 2011-07-04 22:04:04 +02:00
..
.gitignore
CMakeLists.txt
Makefile.Watcom
Makefile.am unit tests: more build adjustments 2011-06-01 21:40:09 +02:00
Makefile.b32
Makefile.inc
Makefile.m32
Makefile.netware
Makefile.vc6 windows build: use correct MS CRT 2011-06-21 20:05:06 +02:00
Makefile.vxworks
README.ares
README.curl_off_t
README.curlx
README.encoding
README.hostip
README.httpauth
README.memoryleak
README.multi_socket
README.pingpong
README.pipelining
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c Remove unnecessary typecast 2011-06-02 19:42:24 +02:00
asyn-thread.c asyn-thread: fix compiler warning 2011-06-21 16:06:56 +02:00
asyn.h compiler warning: fix 2011-05-21 14:10:17 +02:00
axtls.c
axtls.h
base64.c unittest: mark all unit tested functions 2011-06-10 14:40:46 +02:00
checksrc.pl Make checksrc.pl work on more out-of-tree builds 2011-05-26 19:17:10 +02:00
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h
config-riscos.h
config-symbian.h
config-tpf.h
config-vms.h
config-vxworks.h
config-win32.h
config-win32ce.h
connect.c unittest: mark all unit tested functions 2011-06-10 14:40:46 +02:00
connect.h CLOSESOCKETFUNCTION: added 2011-05-18 22:56:46 +02:00
content_encoding.c
content_encoding.h
cookie.c cookie_output: made private 2011-06-03 20:02:07 +02:00
cookie.h cookie_output: made private 2011-06-03 20:02:07 +02:00
curl_addrinfo.c compiler warning: fix 2011-05-26 15:44:53 +02:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake cmake: remove spurious definition 2011-06-21 15:28:03 +02:00
curl_fnmatch.c unittest: mark all unit tested functions 2011-06-10 14:40:46 +02:00
curl_fnmatch.h
curl_gethostname.c
curl_gethostname.h
curl_hmac.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_rand.c
curl_rand.h
curl_rtmp.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
curl_rtmp.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
cyassl.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
cyassl.h
dict.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
dict.h
easy.c compiler warning: fix 2011-05-24 20:39:58 +02:00
easyif.h
escape.c compiler warning: fix 2011-05-23 16:55:09 +02:00
escape.h
file.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
file.h
fileinfo.c Curl_fileinfo_dup: removed, not used 2011-06-03 19:33:23 +02:00
fileinfo.h
firefox-db2pem.sh
formdata.c CURLFORM_STREAM: acknowledge CURLFORM_FILENAME 2011-06-17 22:23:42 +02:00
formdata.h
ftp.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
ftp.h
ftplistparser.c
ftplistparser.h
getenv.c
getinfo.c
getinfo.h
gopher.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
gopher.h
gtls.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
gtls.h
hash.c unittest: mark all unit tested functions 2011-06-10 14:40:46 +02:00
hash.h
hmac.c
hostasyn.c
hostip.c
hostip.h
hostip4.c
hostip6.c CLOSESOCKETFUNCTION: added 2011-05-18 22:56:46 +02:00
hostsyn.c
http.c Curl_http_readwrite_headers: minor indent fix 2011-07-01 22:57:28 +02:00
http.h privatise: make private functions static 2011-06-03 19:51:08 +02:00
http_chunks.c
http_chunks.h
http_digest.c digest_cleanup_one: made private 2011-06-03 19:54:17 +02:00
http_digest.h digest_cleanup_one: made private 2011-06-03 19:54:17 +02:00
http_negotiate.c Curl_input_negotiate: do not delegate GSSAPI credentials 2011-06-22 23:04:26 +02:00
http_negotiate.h
http_negotiate_sspi.c get_gss_name: proxy auth without proxy set equals error 2011-06-29 12:27:37 +02:00
http_ntlm.c OpenSSL enabled: require OPENSSL_VERSION_NUMBER definition before usage. 2011-06-02 12:52:52 +02:00
http_ntlm.h
http_proxy.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
http_proxy.h build: inclusion guard 2011-05-24 15:42:02 +02:00
idn_win32.c Remove unnecessary typecast 2011-06-02 19:42:24 +02:00
if2ip.c
if2ip.h
imap.c set_userpass: convert from protocol-specific to generic 2011-05-05 17:07:21 +02:00
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb4.c
krb4.h
krb5.c
ldap.c Fixed LDAP after RTSP readwrite change 2011-05-06 13:48:24 -07:00
libcurl.def
libcurl.imp
libcurl.plist
libcurl.rc
llist.c unitteset: Curl_llist_move 2011-06-19 22:22:49 +02:00
llist.h
makefile.amiga
makefile.dj
md4.c
md5.c
memdebug.c
memdebug.h
mk-ca-bundle.pl
mk-ca-bundle.vbs
mprintf.c
msvcproj.foot
msvcproj.head
multi.c
multiif.h
netrc.c unittest: mark all unit tested functions 2011-06-10 14:40:46 +02:00
netrc.h
non-ascii.c
non-ascii.h compiler warning: fix 2011-05-24 15:18:26 +02:00
nonblock.c
nonblock.h
nss.c
nssg.h
nwlib.c
nwos.c
openldap.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
parsedate.c parsedate: detect more invalid dates better 2011-06-23 13:49:29 +02:00
parsedate.h parsedate: turn private and static 2011-06-03 19:31:32 +02:00
pingpong.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
pingpong.h
polarssl.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
polarssl.h polarssl.h: remove CVS leftover 2011-07-04 22:04:04 +02:00
pop3.c [pop3] remove extra space in LIST command 2011-06-21 18:12:05 +03:00
pop3.h
progress.c
progress.h
qssl.c
qssl.h
rawstr.c
rawstr.h
rtsp.c RTSP: cleanups 2011-05-05 16:53:05 +02:00
rtsp.h RTSP: cleanups 2011-05-05 16:53:05 +02:00
security.c
select.c long/int mess 2011-06-11 22:56:45 +02:00
select.h Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
sendf.c compiler warning: fix 2011-05-21 14:55:10 +02:00
sendf.h
setup-os400.h
setup.h
setup_once.h CLOSESOCKETFUNCTION: added 2011-05-18 22:56:46 +02:00
share.c
share.h
slist.c
slist.h
smtp.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
smtp.h
sockaddr.h
socks.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
socks.h
socks_gssapi.c compiler warning: fix 2011-05-26 15:44:53 +02:00
socks_sspi.c compiler warning: fix 2011-05-26 15:44:53 +02:00
speedcheck.c
speedcheck.h
splay.c splay: add unit tests 2011-06-10 20:19:35 +02:00
splay.h
ssh.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
ssh.h SSH: set non-blocking earlier 2011-05-01 23:02:39 +02:00
sslgen.c
sslgen.h
ssluse.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
ssluse.h
strdup.c
strdup.h
strequal.c unittest: mark all unit tested functions 2011-06-10 14:40:46 +02:00
strequal.h
strerror.c
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c RTSP: convert protocol-specific checks to generic 2011-05-05 16:27:03 +02:00
telnet.h
tftp.c Curl_socket_ready: make timeout a 'long' 2011-06-04 21:19:14 +02:00
tftp.h
timeval.c
timeval.h
transfer.c HTTP time condition: force closure for 200 OK 2011-06-07 13:40:11 +02:00
transfer.h
url.c disconnect: wipe out the keeps_speed time stamp 2011-06-08 00:23:41 +02:00
url.h
urldata.h urldata: use uniform inclusion style for OpenSSL headers 2011-06-07 18:35:42 +02:00
vc6libcurl.dsw
vc8proj.foot
vc8proj.head
version.c version: linkage fix 2011-05-19 11:50:20 +02:00
warnless.c warnless: icc 9.1 workaround 2011-06-01 12:13:42 +02:00
warnless.h compiler warning: fix 2011-05-26 15:44:53 +02:00
wildcard.c
wildcard.h

README.pipelining

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.