mirror of https://github.com/gorilla/websocket.git
Merge branch 'master' of github.com:gorilla/websocket
This commit is contained in:
commit
d3abc342e8
2
conn.go
2
conn.go
|
@ -120,7 +120,7 @@ func maskBytes(key [4]byte, pos int, b []byte) int {
|
||||||
|
|
||||||
func newMaskKey() [4]byte {
|
func newMaskKey() [4]byte {
|
||||||
n := rand.Uint32()
|
n := rand.Uint32()
|
||||||
return [4]byte{byte(n), byte(n >> 8), byte(n >> 16), byte(n >> 32)}
|
return [4]byte{byte(n), byte(n >> 8), byte(n >> 16), byte(n >> 24)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Conn represents a WebSocket connection.
|
// Conn represents a WebSocket connection.
|
||||||
|
|
|
@ -10,4 +10,4 @@ and start the client test driver
|
||||||
|
|
||||||
wstest -m fuzzingclient -s fuzzingclient.json
|
wstest -m fuzzingclient -s fuzzingclient.json
|
||||||
|
|
||||||
When the client completes, it writes a report to reports/servers/index.html.
|
When the client completes, it writes a report to reports/clients/index.html.
|
||||||
|
|
Loading…
Reference in New Issue