diff --git a/conn.go b/conn.go index 1a57c65671fa994e11d3ce08bcc7bc08e4b8c2b2..beb26ceca39a8a7029657723b73f03cb3b995d5c 100644 --- a/conn.go +++ b/conn.go @@ -37,6 +37,9 @@ const ( // // On any error from any method, the connection is closed // with an appropriate reason. +// +// This applies to context expirations as well unfortunately. +// See https://github.com/nhooyr/websocket/issues/242#issuecomment-633182220 type Conn struct { subprotocol string rwc io.ReadWriteCloser