Merge branch 'master' of github.com:gorilla/websocket

This commit is contained in:
CMGS 2014-08-06 20:10:46 +08:00
commit d3abc342e8
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ func maskBytes(key [4]byte, pos int, b []byte) int {
func newMaskKey() [4]byte {
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.

View File

@ -10,4 +10,4 @@ and start the client test driver
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.