Re: Can I reset CURLOPT_WRITEFUNCTION?
Date: Mon, 26 Nov 2007 11:19:31 -0500
Michael Hecker wrote:
> 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.
Received on 2007-11-26