1. Łukasz Rekucki
  2. gevent-socketio

Commits

Lon Ingram  committed 17e4e1e

Kill session on receipt of a Closed message

  • Participants
  • Parent commits eaabe6e
  • Branches default

Comments (0)

Files changed (1)

File socketio/transports.py

View file
  • Ignore whitespace
             while True:
                 message = websocket.receive()
 
-                if message is None:
+                if not message:
                     session.kill()
                     break
                 else: