curl-library
header only response
From: Jacky Lam <sylam_at_emsoftltd.com>
Date: Wed, 3 Apr 2002 15:35:50 +0800
Received on 2002-04-03
Date: Wed, 3 Apr 2002 15:35:50 +0800
Hi,
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.
The patch attach seems solved this problem, but haven't test it very much.
Jacky
- text/x-diff attachment: patch