From a9da8ab3d32b444dc78e759191386a5110a2bc09 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 19 Aug 2026 11:24:41 -0400 Subject: [PATCH] Fix httpapi getaddrinfo Another area that failed to get the positional arguments converted to keyword. --- confluent_server/confluent/httpapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index 7a46d8c6..2dbe94d2 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -1246,7 +1246,7 @@ async def serve(bind_host, bind_port, bind_group, bind_perms): bind_arg = bind_host else: bindinfo = await asyncio.get_running_loop().getaddrinfo( - bind_host, bind_port, 0, socket.SOCK_STREAM) + bind_host, bind_port, type=socket.SOCK_STREAM) if bindinfo[0][0] == socket.AF_INET: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) elif bindinfo[0][0] == socket.AF_INET6: