Skip to content

Commit 6a4395a

Browse files
author
David Ellis
committed
Added debug_traffic to the list of accepted websocket transport attributes.
1 parent 0089c1e commit 6a4395a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crossbar/common/checkconfig.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2263,7 +2263,8 @@ def check_listening_transport_websocket(personality, transport, with_endpoint=Tr
22632263
:type transport: dict
22642264
"""
22652265
for k in transport:
2266-
if k not in ['id', 'type', 'endpoint', 'url', 'serializers', 'debug', 'options', 'auth', 'cookie']:
2266+
if k not in ['id', 'type', 'endpoint', 'url', 'serializers', 'debug', 'options', 'auth', 'cookie',
2267+
'debug_traffic']:
22672268
raise InvalidConfigException(
22682269
"encountered unknown attribute '{}' in WebSocket transport configuration".format(k))
22692270

0 commit comments

Comments
 (0)