fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
80.5k stars 12.74k forks source link

fix: revert gorilla/websocket from 1.5.1 to 1.5.0 #4149

Closed wlynxg closed 1 month ago

wlynxg commented 1 month ago

WHY

gorilla/websocket 1.5.1 is a problematic version. There will be a lot of logs about websocket because they use log.Prinf directly in the code to print errors. For details, see: https://github.com/gorilla/websocket/issues/880

And websocket 1.5.1 seems to have changed some other features that should not be added. I think frp should roll back the websocket version to 1.5.0 to avoid these problems.