Re: Closing the persisted server connections on IOReactor pause

2010-04-17 Thread Ruwan Linton
Hi Oleg, > Hi Ruwan > > You have got to be very careful here. HTTP connection objects are not > thread safe! One can easily run into a race condition when interacting > with connection objects from any other but an I/O dispatch thread. > I have already encountered the above issue, and had a look

Re: Closing the persisted server connections on IOReactor pause

2010-04-17 Thread Oleg Kalnichevski
On Sat, 2010-04-17 at 09:03 +0530, Ruwan Linton wrote: > Hi Oleg, > > I was able to get hold of the server side connection pool with using a list > and recording them using the above mentioned methods. > > Now I was trying to check the condition, whether a connection is being used > or not at a g