StellarFw / stellar

A modular action based Web Framework for Node.js
https://stellar-framework.com
MIT License
38 stars 4 forks source link

Remove timeout mechanism from WebSocket a TCP connections #125

Open gil0mendes opened 6 years ago

gil0mendes commented 6 years ago

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.