Timeout mechanism makes all the sense in HTTP connections, since that the socket closes after a while. But in the case of WebSocket and TCP connections, there is no reason to apply that mechanism.
This means that the timeout logic must be moved out of the ActionProcessor and should be placed inside the HttpServer.
Timeout mechanism makes all the sense in HTTP connections, since that the socket closes after a while. But in the case of WebSocket and TCP connections, there is no reason to apply that mechanism.
This means that the timeout logic must be moved out of the
ActionProcessor
and should be placed inside theHttpServer
.