Removed references to deprecated websockets attributes

This commit is contained in:
Fabio Manganiello 2022-08-12 15:22:04 +02:00
parent dc7ba881f1
commit 9e2b4a0043
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -135,9 +135,9 @@ class WebsocketPlugin(Plugin):
time_start = time.time()
time_end = time_start + timeout if timeout else 0
url = 'ws{secure}://{host}:{port}{path}'.format(
secure='s' if ws.secure else '',
host=ws.host,
port=ws.port,
secure='s' if ws._secure else '',
host=ws.remote_address[0],
port=ws.remote_address[1],
path=ws.path,
)