[libsoup] http2: Fix logging of authority on new requests



commit 22d0b993cec260150a3ab21dc5c92e9eece5ee66
Author: Patrick Griffis <pgriffis igalia com>
Date:   Tue May 25 10:06:43 2021 -0500

    http2: Fix logging of authority on new requests

 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 924fb556..937cf2a0 100644
--- a/libsoup/http2/soup-client-message-io-http2.c
+++ b/libsoup/http2/soup-client-message-io-http2.c
@@ -861,7 +861,7 @@ send_message_request (SoupMessage          *msg,
 
         data->stream_id = nghttp2_submit_request (io->session, NULL, (const nghttp2_nv *)headers->data, 
headers->len, data_provider, data);
 
-        h2_debug (io, data, "[SESSION] Request made for %s%s", authority, path_and_query);
+        h2_debug (io, data, "[SESSION] Request made for %s%s", authority_header, path_and_query);
 
         g_array_free (headers, TRUE);
         g_free (authority);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]