You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The belief (reactphp/socket#249) that sockets will just stay open is misguided when dealing with cloud systems, network load balancers and corporate firewalls. Idle connections may be dropped somewhere in the network path leading to stale connections.
Being able to set socket options like SO_KEEPALIVE on the stream servers/clients and their respective TCP_* flags would help in keeping these long running connections open (Encountered with Ratchet WS connections).
In TCPServer.php this was tested to work, however it's only a POC and not configurable:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The belief (reactphp/socket#249) that sockets will just stay open is misguided when dealing with cloud systems, network load balancers and corporate firewalls. Idle connections may be dropped somewhere in the network path leading to stale connections.
Being able to set socket options like SO_KEEPALIVE on the stream servers/clients and their respective TCP_* flags would help in keeping these long running connections open (Encountered with Ratchet WS connections).
In TCPServer.php this was tested to work, however it's only a POC and not configurable:
BetaWas this translation helpful?Give feedback.
All reactions