Skip to content

Commit

Permalink
Don't block on close notify. (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
devnev authored May 2, 2019
1 parent 3869f33 commit 238151c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/grpcweb/websocket_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func newWebSocketResponseWriter(wsConn *websocket.Conn) *webSocketResponseWriter
headers: make(http.Header),
flushedHeaders: make(http.Header),
wsConn: wsConn,
closeNotifyChan: make(chan bool),
closeNotifyChan: make(chan bool, 1),
}
}

Expand Down

0 comments on commit 238151c

Please sign in to comment.