mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Support for WebSocket consoles
This commit is contained in:
1 parent
39d44c8480
commit
c313475f68
10 files changed
+207
-4
No files matched your search
@@ -253,10 +253,11 @@ class Route(object):
|
||||
"""
|
||||
To avoid strange effect we prevent concurrency
|
||||
between the same instance of the node
|
||||
(excepting when streaming a PCAP file).
|
||||
(excepting when streaming a PCAP file and WebSocket consoles).
|
||||
"""
|
||||
|
||||
if "node_id" in request.match_info and not "pcap" in request.path:
|
||||
#FIXME: ugly exceptions for capture and websocket console
|
||||
if "node_id" in request.match_info and not "pcap" in request.path and not "ws" in request.path:
|
||||
node_id = request.match_info.get("node_id")
|
||||
|
||||
if "compute" in request.path:
|
||||
|
||||
Reference in new issue
Block a user