cURL / Mailing Lists / curl-library / Single Mail


closing idle connections in multi conncache

From: Phil Blundell <>
Date: Mon, 16 Jun 2008 16:24:30 +0100

One of our applications has a requirement that idle TCP connections
should not be left hanging around for more than a minute. Right now,
the multi conncache seems to be prepared to leave connections open
indefinitely unless curl_multi_cleanup() is called or cache pressure
forces some to be evicted.

Does this patch seem like a reasonable way of accomplishing what we


Received on 2008-06-16