Skip to content

Commit

Permalink
fix non-secure
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichiel committed Jan 19, 2018
1 parent 8f9d068 commit e566ee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ws4py/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ def once(self):
logger.debug("WebSocket is already terminated")
return False
try:
b = b''
if self._is_secure:
b = self._get_from_pending()
if not b and not self.buf:
Expand Down

0 comments on commit e566ee3

Please sign in to comment.