I haven't spent much time on this bug but I thought i'd throw it out to see if there are any ideas that might help me. I have a session object that inherits from the SocketPort object. When a new connection comes into my server I create a new session object passing the constructor the socket and the least loaded SocketService thread. The first connection I make to the server works just fine...the constructor comes back and I successfuly read data from the client. The server then drops the connection by deleting the session object (SocketPort). This seems to work because the socket goes dead and the client sees the disconnect. But then when I try to re-connect to the server, I see the incoming connection (socket.isPendingConnect() returns true) and then when I try to create a new session object (SocketPort) by handing it the socket and the least loaded SocketService object the constructor hangs. My derived session object constructor doesn't even get called which tells me that the SocketPort constructor hangs for some reason. Anybody else experiencing these problems?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't spent much time on this bug but I thought i'd throw it out to see if there are any ideas that might help me. I have a session object that inherits from the SocketPort object. When a new connection comes into my server I create a new session object passing the constructor the socket and the least loaded SocketService thread. The first connection I make to the server works just fine...the constructor comes back and I successfuly read data from the client. The server then drops the connection by deleting the session object (SocketPort). This seems to work because the socket goes dead and the client sees the disconnect. But then when I try to re-connect to the server, I see the incoming connection (socket.isPendingConnect() returns true) and then when I try to create a new session object (SocketPort) by handing it the socket and the least loaded SocketService object the constructor hangs. My derived session object constructor doesn't even get called which tells me that the SocketPort constructor hangs for some reason. Anybody else experiencing these problems?
I am going to try to create a test case for this for 1.4.2.