sourcemod/extensions/curl/curl-src/lib
2010-01-20 15:12:57 -06:00
..
amigaos.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
amigaos.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
arpa_telnet.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
base64.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
build_libcurl.sln Initial import of untested curl extension (bug 3560, r=pred,ds). 2009-01-11 23:48:17 -05:00
build_libcurl.vcproj Fixed assorted updater bugs (bug 3697, r=pred, a121=blocking). 2009-03-06 17:41:35 -05:00
config-amigaos.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config-mac.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config-os400.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config-riscos.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config-symbian.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config-tpf.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config-win32.h Webternet and Updater extensions now load on Windows 2000 (bug 4234, r=dvander). 2010-01-20 15:12:57 -06:00
config-win32ce.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config.dos Imported libcurl source code. 2009-01-08 18:31:00 -05:00
config.h.in Imported libcurl source code. 2009-01-08 18:31:00 -05:00
connect.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
connect.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
content_encoding.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
content_encoding.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
cookie.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
cookie.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curl_addrinfo.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curl_addrinfo.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curl_base64.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curl_ldap.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curl_md5.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curllib.dsp Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curllib.dsw Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curllib.vcproj Imported libcurl source code. 2009-01-08 18:31:00 -05:00
curlx.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
dict.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
dict.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
easy.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
easyif.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
escape.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
escape.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
file.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
file.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
firefox-db2pem.sh Imported libcurl source code. 2009-01-08 18:31:00 -05:00
formdata.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
formdata.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ftp.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ftp.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
getenv.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
getinfo.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
getinfo.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
gtls.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
gtls.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hash.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hash.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostares.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostasyn.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostip4.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostip6.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostip.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostip.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostsyn.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
hostthre.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_chunks.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_chunks.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_digest.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_digest.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_negotiate.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_negotiate.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_ntlm.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http_ntlm.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
http.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
if2ip.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
if2ip.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
inet_ntop.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
inet_ntop.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
inet_pton.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
inet_pton.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
krb4.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
krb4.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
krb5.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ldap.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
libcurl.framework.make Imported libcurl source code. 2009-01-08 18:31:00 -05:00
libcurl.imp Imported libcurl source code. 2009-01-08 18:31:00 -05:00
libcurl.plist Imported libcurl source code. 2009-01-08 18:31:00 -05:00
libcurl.rc Imported libcurl source code. 2009-01-08 18:31:00 -05:00
llist.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
llist.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.am Imported libcurl source code. 2009-01-08 18:31:00 -05:00
makefile.amiga Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.b32 Imported libcurl source code. 2009-01-08 18:31:00 -05:00
makefile.dj Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.in Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.inc Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.m32 Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.netware Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.riscos Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.vc6 Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.vc8 Imported libcurl source code. 2009-01-08 18:31:00 -05:00
Makefile.Watcom Imported libcurl source code. 2009-01-08 18:31:00 -05:00
md5.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
memdebug.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
memdebug.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
memory.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
mk-ca-bundle.pl Imported libcurl source code. 2009-01-08 18:31:00 -05:00
mprintf.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
msvcproj.foot Imported libcurl source code. 2009-01-08 18:31:00 -05:00
msvcproj.head Imported libcurl source code. 2009-01-08 18:31:00 -05:00
multi.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
multiif.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
netrc.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
netrc.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
nss.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
nssg.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
nwlib.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
nwos.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
parsedate.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
parsedate.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
progress.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
progress.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
qssl.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
qssl.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
rawstr.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
rawstr.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.ares Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.curl_off_t Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.curlx Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.encoding Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.hostip Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.httpauth Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.memoryleak Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.multi_socket Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.NSS Imported libcurl source code. 2009-01-08 18:31:00 -05:00
README.pipelining Imported libcurl source code. 2009-01-08 18:31:00 -05:00
security.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
select.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
select.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
sendf.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
sendf.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
setup_once.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
setup-os400.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
setup.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
share.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
share.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
sockaddr.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
socks.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
socks.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
speedcheck.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
speedcheck.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
splay.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
splay.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ssh.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ssh.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
sslgen.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
sslgen.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ssluse.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
ssluse.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strdup.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strdup.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strequal.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strequal.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strerror.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strerror.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strtok.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strtok.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strtoofft.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
strtoofft.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
telnet.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
telnet.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
tftp.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
tftp.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
timeval.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
timeval.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
transfer.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
transfer.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
url.c Imported libcurl source code. 2009-01-08 18:31:00 -05:00
url.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
urldata.h Imported libcurl source code. 2009-01-08 18:31:00 -05:00
version.c Imported libcurl source code. 2009-01-08 18:31:00 -05: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.

- 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.