cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Persistent Connection pool

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Aug 2012 13:38:58 +0200 (CEST)

On Tue, 21 Aug 2012, gaurav shukla wrote:

> Just i want to know that "How Libcurl achieve persistent connection " ,
> either " they had used keep-alive concept of http1.1 " or " persistent
> connection pooling technique in which all unused connection are stored in a
> pool data structure for further use "

I don't think I understand the question properly. libcurl achieves persistent
connections by pooling unused connections for future re-use:

   http://curl.haxx.se/docs/faq.html#What_about_Keep_Alive_or_persist

Is there any specific details in that handling you're asking about?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-21