Commit 94568bc0 authored by Joel Martin's avatar Joel Martin

utils/websocket.py: silence partial unmask debug.

Pull from websockify ada02f2.
parent fa74a6e6
......@@ -305,7 +305,7 @@ Sec-WebSocket-Accept: %s\r
b = numpy.bitwise_xor(data, mask).tostring()
if f['length'] % 4:
print("Partial unmask")
#print("Partial unmask")
mask = numpy.frombuffer(buf, dtype=numpy.dtype('B'),
offset=f['hlen'], count=(f['length'] % 4))
data = numpy.frombuffer(buf, dtype=numpy.dtype('B'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment