fixed a bug in the function of send_frames.

This commit is contained in:
JasonYang 2020-10-21 17:23:16 +08:00 committed by Pierre Ossman
parent 01ef6a6a55
commit 2b44803f83
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class WebSockifyRequestHandler(WebSocketRequestHandlerMixIn, SimpleHTTPRequestHa
except WebSocketWantWriteError:
self.print_traffic("<.")
return True
self.send_parts.pop()
self.send_parts.pop(0)
self.print_traffic("<")
return False