From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 3 May 2011 10:15:54 +0000 (+0000)
Subject: Include the destination host in the 'Request ... marked for blocking. limit-connect... 
X-Git-Tag: v_3_0_18~243
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/static/@proxy-info-url@?a=commitdiff_plain;h=fe464161f250e88304cbc4ff311a9806f09e05ce;p=privoxy.git

Include the destination host in the 'Request ... marked for blocking. limit-connect{...} doesn't allow CONNECT ...' message

Patch submitted by Saperski in #3296250.
---

diff --git a/jcc.c b/jcc.c
index 93d859d5..53490660 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.349 2011/04/26 16:53:21 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.350 2011/04/26 16:55:08 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -1599,8 +1599,8 @@ static void chat(struct client_state *csp)
          csp->action->string[ACTION_STRING_LIMIT_CONNECT];
       assert(NULL != acceptable_connect_ports);
       log_error(LOG_LEVEL_INFO, "Request from %s marked for blocking. "
-         "limit-connect{%s} doesn't allow CONNECT requests to port %d.",
-         csp->ip_addr_str, acceptable_connect_ports, csp->http->port);
+         "limit-connect{%s} doesn't allow CONNECT requests to %s",
+         csp->ip_addr_str, acceptable_connect_ports, csp->http->hostport);
       csp->action->flags |= ACTION_BLOCK;
       http->ssl = 0;
    }