On Tue, 2010-04-06 at 12:59 +0530, Ruwan Linton wrote: > Hi Devs, > > We (Synapse) has a requirement to close the persisted connections > (keep-alive) when the IOReactor is being paused, and I have looked at the > code and tried to get hold of all the persisted connections that are being > used at the time of the IOReactor pause, without any success :-( > > 1) Is it possible to do this?
Yes, it is. > 2) If so, can you please point me to a code snippet or class or a method to > have a look at in getting all the keep-alive connections? > You should be using #connected and #disconnected methods of NHttpClientHandler / NHttpServerHandler interfaces to keep track of open HTTP connections. Hope this helps Oleg > Thanks, > Ruwan > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
