utils/websocket.py: disable debug output.

This commit is contained in:
Joel Martin 2011-05-12 12:55:04 -05:00
parent 7d14602759
commit 557efaf856
1 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ Sec-WebSocket-Accept: %s\r
# Peek, but do not read the data so that we have a opportunity
# to SSL wrap the socket first
handshake = sock.recv(1024, socket.MSG_PEEK)
self.msg("Handshake [%s]" % handshake)
#self.msg("Handshake [%s]" % handshake)
if handshake == "":
raise self.EClose("ignoring empty handshake")
@ -605,7 +605,7 @@ Sec-WebSocket-Accept: %s\r
self.version, self.base64))
# Send server WebSockets handshake response
self.msg("sending response [%s]" % response)
#self.msg("sending response [%s]" % response)
retsock.send(response)
# Return the WebSockets socket which may be SSL wrapped