erebe / wstunnel

Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available
BSD 3-Clause "New" or "Revised" License
4.34k stars 372 forks source link

Make the ping frequency from the server to the client configurable #338

Closed r-vdp closed 3 months ago

r-vdp commented 3 months ago

Before it was hard-coded to 30 seconds, but this was not clear from the log output which showed the server config as having the ping frequency set to None. With this PR, we align the options for the server and the client, and we add the possibility to disable pings altogether by setting the frequency to zero.

erebe commented 3 months ago

Thank you for that :pray: Going to make a new release in the coming week after I get back to my desk/computer