Show More
@@ -507,11 +507,11 class AuthenticatedZMQStreamHandler(ZMQStreamHandler, IPythonHandler): | |||
|
507 | 507 | # under Python 2.x for some reason |
|
508 | 508 | msg = msg.encode('utf8', 'replace') |
|
509 | 509 | try: |
|
510 |
|
|
|
511 |
self.session.session = |
|
|
510 | identity, msg = msg.split(':', 1) | |
|
511 | self.session.session = identity.decode('ascii') | |
|
512 | 512 | except Exception: |
|
513 | logging.error("No bsession!", exc_info=True) | |
|
514 |
|
|
|
513 | logging.error("First ws message didn't have the form 'identity:[cookie]' - %r", msg) | |
|
514 | ||
|
515 | 515 | try: |
|
516 | 516 | self.request._cookies = Cookie.SimpleCookie(msg) |
|
517 | 517 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now