]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fixed WebSocketClient connections not closing on initial connection failure 910/head
authorBrian Turek <brian.turek@gmail.com>
Tue, 8 Oct 2013 20:24:29 +0000 (16:24 -0400)
committerBrian Turek <brian.turek@gmail.com>
Tue, 8 Oct 2013 20:24:29 +0000 (16:24 -0400)
tornado/websocket.py

index cd1ca7f51d59c9d7d618f9e78d071ef0dd7c8ccd..95aa49896f6b52b0a5a8b0b7a7630ca1c9cb4d19 100644 (file)
@@ -796,6 +796,7 @@ class WebSocketClientConnection(simple_httpclient._HTTPConnection):
     def _on_close(self):
         self.on_message(None)
         self.resolver.close()
+        super(WebSocketClientConnection, self)._on_close()
 
     def _on_http_response(self, response):
         if not self.connect_future.done():