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
I did a bit of digging and see that time.Duration is not possible when setting read and write timeouts. That being said, what is the appropriate usage of deadline?
If I have a WS connection where I only read an initial "init" message, and then never read again, do I just let that read timeout die?
Is gorilla package setting a default timeout? My concern is that my server be vulnerable to idle websocket attacks if there's no read deadline in place.