cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to turn on persistent connection

From: Jerry G. Chiuan <jerry_at_oridus.com>
Date: Tue, 16 Sep 2003 19:50:39 -0700

> > Subject: Re: how to turn on persistent connection
> > On Fri, 12 Sep 2003, Jerry G. Chiuan wrote:
> >
> > > > Yes, each connection will be kept alive and re-used if possible.
> > >
> > > Thus, do you know what else I have to set to have persistent
connection
> > > beside setting header "Keep-Alive"?
> >
> > The server needs to keep the connection alive as well, libcurl only does
> its
> > attempts from the client-side. HTTP 1.1-servers keep connections alive
by
> > default unless told otherwise. "Keep-Alive" is a 1.0-thing.
> >
> > If you think you're experiencing a libcurl bug, you need to provide a
lot
> more
> > details for us to understand and repeat the problem.

Hi Daniel,
I went back to look at it again and I found it works wonderfully
I have 3 threads which have individual easy handle to use, each thread keeps
using the same port
I only see 3 different ports used while using sniffer to observe
I was probably "blind" when I first looked at it : ) or I modified something
I don't remember

thank you so much
- Jerry

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-17