]> git.proxmox.com Git - mirror_novnc.git/commitdiff
utils/websocket.py: disable debug output.
authorJoel Martin <github@martintribe.org>
Thu, 12 May 2011 17:55:04 +0000 (12:55 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 12 May 2011 17:55:04 +0000 (12:55 -0500)
utils/websocket.py

index 121a79131e1bca5d3e15b69539f6c938d1bda98d..717a08fbf791d5b2d5dddd80acf8eee4d7140650 100755 (executable)
@@ -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