Skip to content

Commit 5d45a30

Browse files
committed
mask_asm: Disable for now until v1.9.0
1 parent 0edbb28 commit 5d45a30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mask_asm.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
package websocket
44

55
func mask(b []byte, key uint32) uint32 {
6+
// TODO: Will enable in v1.9.0.
7+
return maskGo(b, key)
68
if len(b) > 0 {
79
return maskAsm(&b[0], len(b), key)
810
}

0 commit comments

Comments
 (0)