curl-library
Re: header only response
Date: Wed, 3 Apr 2002 17:23:37 +0200 (MET DST)
On Wed, 3 Apr 2002, Jacky Lam wrote:
> For normal header+body response, libcurl seems have no problem.
> However, for header only response, like 304 (Not modified). After getting
> the header, libcurl seems still get into select() in Transfer() and wait
> for 1 sec before it return. It makes a serious performance impact for
> validating cached object.
Ack! I can see how and why. Yes, that is badness.
*great* catch!
> The patch attach seems solved this problem, but haven't test it very
> much.
I don't think that is the best possible fix, even though it might work for
you at the moment.
We want the code in the end of the main do-while loop to run when this
happens... Gimme a day and I'll get back with how I suggest we fix this.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-04-03