dload.c: add curl_download_internal
commit96e458b705eda4ddff7d6ec890cf1daf898e9186
authorDave Reisner <d@falconindy.com>
Tue, 1 Feb 2011 20:38:37 +0000 (1 15:38 -0500)
committerDave Reisner <d@falconindy.com>
Wed, 9 Mar 2011 20:22:32 +0000 (9 15:22 -0500)
tree192741351db0f28e0c27c2ad5f6755cfa5424bdc
parent8a58648471e3a5311529955cd91c1a082be10056
dload.c: add curl_download_internal

This is a feature complete re-implementation of the fetch based internal
downloader, with a few improvements:

* support for SSL
* gzip and deflate compression on HTTP connections
* reuses a single connection over the entire session for lower resource
  usage.

Signed-off-by: Dave Reisner <d@falconindy.com>
lib/libalpm/dload.c