curl-library
closing idle connections in multi conncache
From: Phil Blundell <pb_at_reciva.com>
Date: Mon, 16 Jun 2008 16:24:30 +0100
Received on 2008-06-16
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
need?
Phil
- text/x-patch attachment: reaper-diff__charset_UTF-8