cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http keep-alive when mongoose + libcurl

From: Dannoy Lee <dannoy.lee_at_gmail.com>
Date: Tue, 28 Dec 2010 17:16:44 +0800

Dan,Thank you very much.It works for me well now!

On Fri, Dec 24, 2010 at 4:38 PM, Dan Fandrich <dan_at_coneharvesters.com>wrote:

> On Fri, Dec 24, 2010 at 04:05:27PM +0800, Dannoy Lee wrote:
> > Hi,
> > Dan,thank you for answer me so quickly.Here I try to make the things
> more
> > specific.
> > First, I try persistant.c(I modified it a bit , see attachment)
> example with
> > my modified mongoose http server without authentication and following
> location.
> > And my persistant runs well.
> > Second, I add authentication and "Location" header to response client
> > request, my persistant hangs.
>
> That's because the server sends an incomplete response, and libcurl
> (rightly) waits for it to complete. Take a look at the log:
>
>

-- 
Dannoy.Lee love you all.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-28