From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 26 Aug 2020 17:07:05 +0000 (+0200)
Subject: send_crunch_response(): Include the full URL in a log message
X-Git-Tag: v_3_0_29~179
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/@default-cgi@show-url-info?a=commitdiff_plain;h=c9e03e7fecd9b4c39896ae57094df9eeb8ce902d;p=privoxy.git

send_crunch_response(): Include the full URL in a log message

Sponsored by: Robert Klemme
---

diff --git a/jcc.c b/jcc.c
index 5f7a1fd3..fab23781 100644
--- a/jcc.c
+++ b/jcc.c
@@ -881,8 +881,8 @@ static void send_crunch_response(struct client_state *csp, struct http_response
          {
             /* There is nothing we can do about it. */
             log_error(LOG_LEVEL_CONNECT, "Couldn't deliver the error message "
-               "for %s through client socket %d using TLS/SSL",
-               http->url, csp->cfd);
+               "for https://%s%s through client socket %d using TLS/SSL",
+               http->hostport, http->url, csp->cfd);
          }
       }
       else