Skip to content

Commit 085d46c

Browse files
committed
Document context expirations wart
Closes #242
1 parent 29f527b commit 085d46c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conn.go

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ const (
3737
//
3838
// On any error from any method, the connection is closed
3939
// with an appropriate reason.
40+
//
41+
// This applies to context expirations as well unfortunately.
42+
// See https://github.com/nhooyr/websocket/issues/242#issuecomment-633182220
4043
type Conn struct {
4144
subprotocol string
4245
rwc io.ReadWriteCloser

0 commit comments

Comments
 (0)