Merge branch 'main' into main

This commit is contained in:
Lexipherous
2025-03-21 09:57:36 +00:00
committed by GitHub
9 changed files with 53 additions and 22 deletions

View File

@@ -310,7 +310,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