Describe the bug
Wetty does not reconnect and continues session when losing connection and reconnecting.
To Reproduce
Open a new session
Remove the network cable
Wait a few seconds and reconnect the cable
Expected behavior
I expected the session to pick up where it left off
Versions
wetty 2.1.1
socket.io 2.3.0
xterm 4.8.1
docker image running node:14-buster
Additional context
When I log in, unplug the cable and plug in, the terminal closes instead of reconnecting and picking up where it left off
When I use chrome dev console and select option to simulate connection loss, it reconnects and works, but when I remove the network cable (or turn off wifi) it doesn't work
Describe the bug Wetty does not reconnect and continues session when losing connection and reconnecting.
To Reproduce
Expected behavior I expected the session to pick up where it left off
Versions
Additional context When I log in, unplug the cable and plug in, the terminal closes instead of reconnecting and picking up where it left off
When I use chrome dev console and select option to simulate connection loss, it reconnects and works, but when I remove the network cable (or turn off wifi) it doesn't work
src/client/wetty/socket.ts
src/server/socketServer/socket.ts
haproxy