gorilla / websocket

Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go.

Home Page:https://gorilla.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] <traffic from local machine to websocket server is high>

zhouziyan opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am using this repo to work with websocket thing. My case is very simple, just listening some data from a web server.
After I start my program, I use $ sudo nethogs command to see the network traffic.
I saw that SENT is 50k/s and RECEIVED is 500k/s.
I did't sent any traffic to websocket server. I'd like to ask what message is included in SENT and how to disable it?
Could anybody from community can help me?

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response