cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can I reset CURLOPT_WRITEFUNCTION?

From: Michael Hecker <Hecker.Michael_at_gmx.de>
Date: Mon, 26 Nov 2007 19:02:26 +0100

Thank you Daniel and Mohun.
The problem is solved!

Michael

-------- Original-Nachricht --------
> Datum: Mon, 26 Nov 2007 11:19:31 -0500
> Von: Mohun Biswas <m_biswas_at_mailinator.com>
> An: curl-library_at_cool.haxx.se
> Betreff: Re: Can I reset CURLOPT_WRITEFUNCTION?

> Michael Hecker wrote:
> > Hello,
> > I'm reusing a connection to perform several requests. I only need the
> > data of the second request so I set CURLOPT_WRITEFUNCTION for that
> request.
> > Afterwards there are two other requests and I don't need the data data
> > of theses requests. Can I somehow reset/disable CURLOPT_WRITEFUNCTION?
> > Or is it basically unnecessary, because there is no diference in the
> > speed anyway?
>
> In addition to what Daniel says, you might consider making the
> subsequent requests use the HEAD method.
>
> MB

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Received on 2007-11-26