freeswitch/libs/curl/lib
Michael Jerris 3f82e9323c remove generated files and add svn:ignore
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:58:55 +00:00
..
amigaos.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
amigaos.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
arpa_telnet.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
base64.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
base64.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ca-bundle.crt add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config-amigaos.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config-mac.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config-riscos.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config-tpf.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config-win32.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config-win32ce.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config.dos add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
config.h.in add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
connect.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
connect.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
content_encoding.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
content_encoding.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
cookie.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
cookie.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
curllib.dsp add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
curllib.dsw add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
curllib.vcproj add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
curlx.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
dict.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
dict.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
easy.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
easyif.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
escape.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
escape.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
file.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
file.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
formdata.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
formdata.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ftp.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ftp.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
getenv.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
getinfo.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
getinfo.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
gtls.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
gtls.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hash.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hash.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostares.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostasyn.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostip4.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostip6.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostip.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostip.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostsyn.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
hostthre.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_chunks.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_chunks.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_digest.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_digest.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_negotiate.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_negotiate.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_ntlm.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http_ntlm.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
http.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
if2ip.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
if2ip.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
inet_ntoa_r.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
inet_ntop.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
inet_ntop.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
inet_pton.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
inet_pton.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
krb4.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
krb4.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ldap.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ldap.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
libcurl.framework.make add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
libcurl.imp add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
libcurl.plist add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
libcurl.rc add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
llist.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
llist.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.am add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
makefile.amiga add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.b32 add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
makefile.dj add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.in add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.inc add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.m32 add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.netware add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.riscos add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.vc6 add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
Makefile.Watcom add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
md5.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
md5.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
memdebug.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
memdebug.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
memory.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
mprintf.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
msvcproj.foot add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
msvcproj.head add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
multi.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
multiif.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
netrc.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
netrc.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
nwlib.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
parsedate.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
parsedate.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
progress.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
progress.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.ares add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.curlx add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.encoding add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.hostip add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.httpauth add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.memoryleak add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.multi_socket add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
README.pipelining add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
security.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
select.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
select.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
sendf.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
sendf.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
setup_once.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
setup.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
share.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
share.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
sockaddr.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
socks.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
socks.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
speedcheck.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
speedcheck.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
splay.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
splay.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
sslgen.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
sslgen.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ssluse.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
ssluse.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strdup.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strdup.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strequal.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strequal.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strerror.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strerror.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strtok.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strtok.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strtoofft.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
strtoofft.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
telnet.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
telnet.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
tftp.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
tftp.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
timeval.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
timeval.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
transfer.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
transfer.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
url.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
url.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
urldata.h add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00:00
version.c add curl 7.16.0 to in tree libs 2006-12-20 02:08:00 +00: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.