cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl multi handle persistent connections

From: Tejas Shah <tejas89_at_gmail.com>
Date: Tue, 22 Nov 2011 10:28:25 -0500

I am adding 10 easy handles to a multi handle, all with the same server
url. When I do a multi perform on the multi handle, 10 connections are
opened. I was under the impression that multi handles had connection pools
and reused connections when possible. How can I enforce use of one
connection for all 10 of these easy handles?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-22