Core: update websockets (#4732)

This commit is contained in:
Fabian Dill
2025-03-16 22:13:12 +01:00
committed by GitHub
parent 7f35eb8867
commit 42eaeb92f0
4 changed files with 9 additions and 9 deletions

View File

@@ -272,7 +272,7 @@ def run_server_process(name: str, ponyconfig: dict, static_server_data: dict,
await ctx.server
port = 0
for wssocket in ctx.server.ws_server.sockets:
for wssocket in ctx.server.server.sockets:
socketname = wssocket.getsockname()
if wssocket.family == socket.AF_INET6:
# Prefer IPv4, as most users seem to not have working ipv6 support