aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gorilla/websocket/prepared.go
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-03-17 09:43:29 -0700
committerJordan <me@jordan.im>2022-03-17 09:43:29 -0700
commit66bfe530b4fd5cb9755337ce718df26ee81f1b77 (patch)
tree9dfc8a79183b8bffc12db5a92f957e3bfd37d4f2 /vendor/github.com/gorilla/websocket/prepared.go
parent2f0b35e3c25bc4394f3288e1baa77d250cb510ed (diff)
downloadkeep-66bfe530b4fd5cb9755337ce718df26ee81f1b77.tar.gz
keep-66bfe530b4fd5cb9755337ce718df26ee81f1b77.zip
misc: go get -u ./... ; go mod vendor
Diffstat (limited to 'vendor/github.com/gorilla/websocket/prepared.go')
-rw-r--r--vendor/github.com/gorilla/websocket/prepared.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/gorilla/websocket/prepared.go b/vendor/github.com/gorilla/websocket/prepared.go
index 74ec565..c854225 100644
--- a/vendor/github.com/gorilla/websocket/prepared.go
+++ b/vendor/github.com/gorilla/websocket/prepared.go
@@ -73,8 +73,8 @@ func (pm *PreparedMessage) frame(key prepareKey) (int, []byte, error) {
// Prepare a frame using a 'fake' connection.
// TODO: Refactor code in conn.go to allow more direct construction of
// the frame.
- mu := make(chan bool, 1)
- mu <- true
+ mu := make(chan struct{}, 1)
+ mu <- struct{}{}
var nc prepareConn
c := &Conn{
conn: &nc,