Upstream: No Reason: Docker by default doesn't enable IPv6, so tests using this will fail on CI and infra. diff --git a/libuhttpmock/uhm-server.c b/libuhttpmock/uhm-server.c index 5f59a23..11b113d 100644 --- a/libuhttpmock/uhm-server.c +++ b/libuhttpmock/uhm-server.c @@ -1393,7 +1393,7 @@ uhm_server_run (UhmServer *self) g_main_context_push_thread_default (priv->server_context); priv->server_main_loop = g_main_loop_new (priv->server_context, FALSE); - soup_server_listen_local (priv->server, 0, SOUP_SERVER_LISTEN_HTTPS, + soup_server_listen_local (priv->server, 0, SOUP_SERVER_LISTEN_HTTPS | SOUP_SERVER_LISTEN_IPV4_ONLY, &error); g_assert_no_error (error); /* binding to localhost should never really fail */