Skip to content

Commit

Permalink
fix workaround in AB for a bug in twisted that by being fixed in tx 2…
Browse files Browse the repository at this point in the history
…1.21, blows up the workaround (#1469)
  • Loading branch information
oberstet committed Mar 2, 2021
1 parent 014cd9e commit af8fbca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion autobahn/twisted/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def connectionMade(self):
# the peer we are connected to
try:
self.peer = peer2str(self.transport.getPeer())
except AttributeError:
except (AttributeError, NotImplementedError):
# ProcessProtocols lack getPeer()
self.peer = 'process:{}'.format(self.transport.pid)
self.peer_transport = 'websocket'
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
Changelog
=========

21.3.1
------

* fix: Twisted v21.2.0 breaks Crossbar.io (see https://github.com/crossbario/crossbar/issues/1864)

21.2.2
------

Expand Down

0 comments on commit af8fbca

Please sign in to comment.