mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-04 19:39:39 +00:00
Add DOCTYPE. Misc cleanup.
This commit is contained in:
@@ -256,7 +256,6 @@ Connection: Upgrade\r
|
||||
|
||||
# Now get the data from the socket
|
||||
handshake = retsock.recv(4096)
|
||||
#self.msg("handshake: " + repr(handshake))
|
||||
|
||||
if len(handshake) == 0:
|
||||
raise self.EClose("Client closed during handshake")
|
||||
@@ -274,6 +273,7 @@ Connection: Upgrade\r
|
||||
else:
|
||||
raise self.EClose("")
|
||||
|
||||
#self.msg("handshake: " + repr(handshake))
|
||||
# Parse client WebSockets handshake
|
||||
h = self.parse_handshake(handshake)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user