Revert "Core: update websockets (#4732)" (#4753)

This reverts commit 42eaeb92f0.
This commit is contained in:
NewSoupVi
2025-03-19 01:39:18 +01:00
committed by GitHub
parent 63cbc00a40
commit b7fc96100c
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.server.sockets:
for wssocket in ctx.server.ws_server.sockets:
socketname = wssocket.getsockname()
if wssocket.family == socket.AF_INET6:
# Prefer IPv4, as most users seem to not have working ipv6 support