utils/websocket.py: silence partial unmask debug.

Pull from websockify ada02f2.
This commit is contained in:
Joel Martin 2011-08-31 15:33:30 -05:00
parent fa74a6e60c
commit 94568bc08d
1 changed files with 1 additions and 1 deletions

View File

@ -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'),