From 13c6883df24abaaf6adbbefece5dc20a899f3db0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 5 Jun 2020 13:52:50 +0200 Subject: [PATCH] Improve an error message in chat() ... that is emitted when forwarding an encrypted request through a HTTP proxy fails. Sponsored by: Robert Klemme --- jcc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index d0f0b34b..0654f808 100644 --- a/jcc.c +++ b/jcc.c @@ -3889,8 +3889,9 @@ static void chat(struct client_state *csp) */ if (!tunnel_established_successfully(server_response, (unsigned int)len)) { - log_error(LOG_LEVEL_ERROR, "Forwarder hasn't established " - "connection with destination server."); + log_error(LOG_LEVEL_ERROR, + "The forwarder %s failed to establish a connection with %s", + fwd->forward_host, http->host); rsp = error_response(csp, "connect-failed"); if (rsp) { -- 2.39.2