cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: A bug in libcurl (maybe?)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 5 Aug 2001 15:17:33 +0200 (MET DST)
On Sun, 15 Jul 2001, Jonathan Hseu wrote:
> The default action for CURLOPT_WRITEFUNCTION is to call its callback
I agree with you, and I can only blame this current behaviour on sloppiness
> I want CURLOPT_WRITEHEADER to be called when I give NULL for
Well, you can set a callback on CURLOPT_HEADERFUNCTION only, right? And if
> Could what I said really be called a bug and,
I think so. The fix is very simple:
--- sendf.c 2001/05/31 13:50:28 1.24
(please let us know if this is fixes your problems)
> Is there anyway I can get CURLOPT_WRITEHEADER to be called even if
You don't have to create a buffer or a stream, all you need is to set it to
> I know I can ignore certain streams in the callback function, but that
I agree, but it works as a work-around until the above patch is verified and
> Sorry for my weird, uncomprehensible wording =)
I think I understood it. If not, please correct me!
-- Daniel Stenberg -- curl dude -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list http://curl.haxx.se/libcurl/Received on 2001-08-05
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info