Added validationMade() to websocket protocol, to be able to parse the
incoming host information at connection (for getting the browser session id directly from the path as ws://.../?csessid).
This commit is contained in:
parent
a39d52dd7e
commit
81170b69d0
2 changed files with 11 additions and 3 deletions
|
|
@ -537,6 +537,7 @@ class WebSocketProtocol(ProtocolWrapper):
|
|||
log.msg("Can't support protocol version %s!" % version)
|
||||
return False
|
||||
|
||||
self.validationMade() # custom Evennia addition
|
||||
return True
|
||||
|
||||
def dataReceived(self, data):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue