[gnome-online-accounts] httpclient: Log debug messages to track the status of the client
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] httpclient: Log debug messages to track the status of the client
- Date: Tue, 27 Nov 2018 17:58:37 +0000 (UTC)
commit c09c5f4cd6be3086f8b105b088266afd82bcdccb
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Nov 27 18:04:24 2018 +0100
httpclient: Log debug messages to track the status of the client
src/goabackend/goahttpclient.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/goabackend/goahttpclient.c b/src/goabackend/goahttpclient.c
index bd133a4d..81aa52d0 100644
--- a/src/goabackend/goahttpclient.c
+++ b/src/goabackend/goahttpclient.c
@@ -119,6 +119,8 @@ http_client_request_started (SoupSession *session, SoupMessage *msg, SoupSocket
GTask *task = G_TASK (user_data);
GTlsCertificateFlags cert_flags;
+ g_debug ("goa_http_client_check(): request started (%p)", msg);
+
data = (CheckData *) g_task_get_task_data (task);
if (!data->accept_ssl_errors
@@ -141,6 +143,8 @@ http_client_check_cancelled_cb (GCancellable *cancellable, gpointer user_data)
CheckData *data;
GTask *task = G_TASK (user_data);
+ g_debug ("goa_http_client_check(): cancelled");
+
data = (CheckData *) g_task_get_task_data (task);
/* The callback will be invoked after we have returned to the main
@@ -156,6 +160,8 @@ http_client_check_response_cb (SoupSession *session, SoupMessage *msg, gpointer
GCancellable *cancellable;
GTask *task = G_TASK (user_data);
+ g_debug ("goa_http_client_check(): response (%p, %u)", msg, msg->status_code);
+
data = (CheckData *) g_task_get_task_data (task);
cancellable = g_task_get_cancellable (task);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]