mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
gsocketclient: Add some additional debug prints
These make it a bit easier to track the ongoing tasks, as the tasks and/or their closures are not tracked in a big list somewhere. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
bc6d03c3c9
commit
320c9d6d0d
@ -2071,6 +2071,9 @@ g_socket_client_enumerator_callback (GObject *object,
|
||||
attempt->connection = (GIOStream *)g_socket_connection_factory_create_connection (socket);
|
||||
attempt->timeout_source = g_timeout_source_new (HAPPY_EYEBALLS_CONNECTION_ATTEMPT_TIMEOUT_MS);
|
||||
|
||||
g_debug ("%s: starting connection attempt %p for GSocketClientAsyncConnectData %p",
|
||||
G_STRFUNC, attempt, data);
|
||||
|
||||
if (G_IS_PROXY_ADDRESS (address) && data->client->priv->enable_proxy)
|
||||
attempt->proxy_addr = g_object_ref (G_PROXY_ADDRESS (address));
|
||||
|
||||
@ -2200,6 +2203,10 @@ g_socket_client_connect_async (GSocketClient *client,
|
||||
g_object_ref (data->enumeration_cancellable), g_object_unref);
|
||||
}
|
||||
|
||||
g_debug ("%s: starting new g_socket_client_connect_async() with GTask %p "
|
||||
"and GSocketClientAsyncConnectData %p",
|
||||
G_STRFUNC, data->task, data);
|
||||
|
||||
enumerator_next_async (data, FALSE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user