From: Daniel Barkalow Date: Tue, 12 Jul 2005 01:54:00 GMT Subject: Re: [PATCH 2/2] Demo support for packs via HTTP Message-ID: In-Reply-To: <1121118544.3939.6.camel@localhost.localdomain> 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 send in a patch which would turn on user auth and turn > off ssl peer verification. > > Your (preliminary obviously) patch puts curl handling in two places. Is > there a place were I can safely start working on adding the needed > setopts? 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 them. -Daniel *This .sig left intentionally blank*