mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
websocket: fix typo
Small fix missed in CL 6446061. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6457047
This commit is contained in:
committed by
Andrew Gerrand
parent
8e3008acf4
commit
dbb2a3601f
@@ -332,9 +332,9 @@ func generateKey3() (key []byte) {
|
||||
return
|
||||
}
|
||||
|
||||
// Cilent handshake described in (soon obsolete)
|
||||
// Client handshake described in (soon obsolete)
|
||||
// draft-ietf-hybi-thewebsocket-protocol-00
|
||||
// (draft-hixie-thewebsocket-protocol-76)
|
||||
// (draft-hixie-thewebsocket-protocol-76)
|
||||
func hixie76ClientHandshake(config *Config, br *bufio.Reader, bw *bufio.Writer) (err error) {
|
||||
switch config.Version {
|
||||
case ProtocolVersionHixie76, ProtocolVersionHybi00:
|
||||
|
||||
Reference in New Issue
Block a user