Merge pull request #1007 from furious-luke/master

Call connection_open after websocket handshake
This commit is contained in:
Raphael Deem 2017-11-05 14:26:19 -08:00 committed by GitHub
commit 098cd70e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,4 +90,5 @@ class WebSocketProtocol(HttpProtocol):
) )
self.websocket.subprotocol = subprotocol self.websocket.subprotocol = subprotocol
self.websocket.connection_made(request.transport) self.websocket.connection_made(request.transport)
self.websocket.connection_open()
return self.websocket return self.websocket