>> > I would like to stop all network activity as soon as possible. >> > >> > Is there a way of forcing the client to abort these connections ? >> > >> >> Simply throw an exception either from request producer or response >> consumer. That will immediately terminate the ongoing HTTP message >> exchange and shut down the underlying connection. >> >> Oleg >> >> >> >> Thanks so much, Oleg. Is it odd that calling shutdown on the >connection manager does not >> shut down the underlying connection? As I mentioned in previous >email, connection continues >> even if I exit my program. >> > >This makes no sense. > >Oleg > > >Thanks, Oleg. From what I have read about TCP, closing a socket puts >the socket in a TIME WAIT state for up to 4 minutes; during this time, >send buffers that have data can continue to send. > >Now, in my case, these buffers would have to be MBs in size, so it >still seems strange. But not impossible. > >Aaron
TIME_WAIT is perfectly legal for closed connections. I would not consider it as evidence of connection manager shutdown not working. Oleg Thanks, Oleg. Yeah, now that I understand a bit more about TCP protocol, I don't think there is any problem with the connection manager. Case closed. :) Aaron This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.