Re: [PATCH 2/2] Demo support for packs via HTTP

2005-07-12 Thread Darrin Thompson
Daniel Barkalow wrote: If I understand the curl documentation, you should be able to set options on the curl object when it has just been created, if those options aren't going to change between requests. Note that I make requests from multiple places, but I use the same curl object for all of t

Re: [PATCH 2/2] Demo support for packs via HTTP

2005-07-11 Thread Daniel Barkalow
On Mon, 11 Jul 2005, Darrin Thompson wrote: > On Sun, 2005-07-10 at 15:56 -0400, Daniel Barkalow wrote: > > + curl_easy_setopt(curl, CURLOPT_FILE, indexfile); > > + curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); > > + curl_easy_setopt(curl, CURLOPT_URL, url); > > I was hoping to sen

Re: [PATCH 2/2] Demo support for packs via HTTP

2005-07-11 Thread Darrin Thompson
On Sun, 2005-07-10 at 15:56 -0400, Daniel Barkalow wrote: > + curl_easy_setopt(curl, CURLOPT_FILE, indexfile); > + curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); > + curl_easy_setopt(curl, CURLOPT_URL, url); I was hoping to send in a patch which would turn on user auth and turn

[PATCH 2/2] Demo support for packs via HTTP

2005-07-10 Thread Daniel Barkalow
Support for downloading the pack file "e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135" when appropriate. (Will support other pack files when the repository has a list of them.) Signed-off-by: Daniel Barkalow <[EMAIL PROTECTED]> --- commit 74132562a2f6cfce9690a5091de7e85bd51d88af tree c0ae9cb936abac4412