github.com/gorilla/websocket v1.4.0

This commit is contained in:
Jordan Liggitt
2019-06-22 11:41:53 -07:00
parent 29853a1976
commit 63e5ad08aa
30 changed files with 1003 additions and 316 deletions

View File

@@ -11,7 +11,6 @@ import "unsafe"
const wordSize = int(unsafe.Sizeof(uintptr(0)))
func maskBytes(key [4]byte, pos int, b []byte) int {
// Mask one byte at a time for small buffers.
if len(b) < 2*wordSize {
for i := range b {