basically replaced take() with poll() with timeout. I think 3 min is excessive, but leave it up to you to decide. I do not have a clear understanding of how do we end up in the situation where the client has already closed connection by the time of the call to take() is made, so the socket is in CLOSE_WAIT state and take() never returns. See my emails for more detailed analysis.
…tConnection.handle() and set version to 1.0.2-b
basically replaced take() with poll() with timeout. I think 3 min is excessive, but leave it up to you to decide. I do not have a clear understanding of how do we end up in the situation where the client has already closed connection by the time of the call to take() is made, so the socket is in CLOSE_WAIT state and take() never returns. See my emails for more detailed analysis.