Skip to content

Commit

Permalink
Document context expirations wart
Browse files Browse the repository at this point in the history
Closes #242
  • Loading branch information
nhooyr committed Jan 9, 2021
1 parent 29f527b commit 085d46c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 085d46c

Please sign in to comment.