Closed
Description
Hello,
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.