curl-library
Re: Sockets left open
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Apr 2012 13:27:21 +0200 (CEST)
Date: Wed, 25 Apr 2012 13:27:21 +0200 (CEST)
On Tue, 24 Apr 2012, Mark Lively wrote:
> There is a plugin architecture to this program so I was hoping to write a
> plug-in that would allow me to tear down the old connections.
>
> Is there someway to get at someone else's multi_handle?
Not easily. In a Linux system I would try an LD_PRELOAD approach where I would
inject a set of libcurl functions that would replace the existing ones, and
they would then call the real libcurl functions and store/expose the necessary
info for you to add extra cleanup logic.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-04-25