[libsoup] io-http2: include the message io state in debug messages
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] io-http2: include the message io state in debug messages
- Date: Thu, 20 May 2021 12:32:50 +0000 (UTC)
commit 1a711d40e982ccf771c2295c9624f9c8220d3d81
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Thu May 20 12:30:36 2021 +0200
io-http2: include the message io state in debug messages
libsoup/http2/soup-client-message-io-http2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/http2/soup-client-message-io-http2.c b/libsoup/http2/soup-client-message-io-http2.c
index c1599e9d..8979592d 100644
--- a/libsoup/http2/soup-client-message-io-http2.c
+++ b/libsoup/http2/soup-client-message-io-http2.c
@@ -208,7 +208,7 @@ h2_debug (SoupClientMessageIOHTTP2 *io,
stream_id = data->stream_id;
g_assert (io);
- g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "[C%" G_GUINT64_FORMAT "-S%u] %s", io->connection_id,
stream_id, message);
+ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "[C%" G_GUINT64_FORMAT "-S%u] [%s] %s", io->connection_id,
stream_id, data ? state_to_string (data->state) : "-", message);
g_free (message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]