fix regression in 0.10.8 with connectTCP and WebSocket (fixes #500)

This commit is contained in:
Tobias Oberstein
2015-09-15 10:07:46 +02:00
parent 942d27eb6a
commit cf10233bec
3 changed files with 11 additions and 6 deletions

View File

@@ -24,5 +24,5 @@
#
###############################################################################
__version__ = "0.10.8"
__version__ = "0.10.9"
version = __version__ # backward compat.

View File

@@ -227,8 +227,7 @@ class WebSocketAdapterFactory(object):
log = make_logger("twisted")
# we deliberately subclass t.i.p.Factory, not t.i.p.ServerFactory. See https://github.com/tavendo/AutobahnPython/issues/389
class WebSocketServerFactory(WebSocketAdapterFactory, protocol.WebSocketServerFactory, twisted.internet.protocol.Factory):
class WebSocketServerFactory(WebSocketAdapterFactory, protocol.WebSocketServerFactory, twisted.internet.protocol.ServerFactory):
"""
Base class for Twisted-based WebSocket server factories.
"""
@@ -249,8 +248,7 @@ class WebSocketServerFactory(WebSocketAdapterFactory, protocol.WebSocketServerFa
protocol.WebSocketServerFactory.__init__(self, *args, **kwargs)
# we deliberately subclass t.i.p.Factory, not t.i.p.ClientFactory. See https://github.com/tavendo/AutobahnPython/issues/389
class WebSocketClientFactory(WebSocketAdapterFactory, protocol.WebSocketClientFactory, twisted.internet.protocol.Factory):
class WebSocketClientFactory(WebSocketAdapterFactory, protocol.WebSocketClientFactory, twisted.internet.protocol.ClientFactory):
"""
Base class for Twisted-based WebSocket client factories.
"""

View File

@@ -5,10 +5,17 @@
Changelog
=========
0.10.9
------
`Published 2015-09-15 <https://pypi.python.org/pypi/autobahn/0.10.8>`__
* fixes regression #500 introduced with commit 9f68749
0.10.8
------
`Published 2015-09-13 <https://pypi.python.org/pypi/autobahn/0.10.7>`__
`Published 2015-09-13 <https://pypi.python.org/pypi/autobahn/0.10.8>`__
* maintenance release with some issues fixed