projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba40d0b
)
Also log the client socket when dropping a connection.
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jul 2011 13:30:24 +0000
(13:30 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jul 2011 13:30:24 +0000
(13:30 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
06418a8
..
bd20098
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.35
4 2011/07/03 17:54:29
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.35
5 2011/07/08 13:27:31
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-3526,7
+3526,8
@@
static void listen_loop(void)
#ifdef FEATURE_ACL
if (block_acl(NULL,csp))
{
#ifdef FEATURE_ACL
if (block_acl(NULL,csp))
{
- log_error(LOG_LEVEL_CONNECT, "Connection from %s dropped due to ACL", csp->ip_addr_str);
+ log_error(LOG_LEVEL_CONNECT,
+ "Connection from %s on socket %d dropped due to ACL", csp->ip_addr_str, csp->cfd);
close_socket(csp->cfd);
freez(csp->ip_addr_str);
freez(csp_list);
close_socket(csp->cfd);
freez(csp->ip_addr_str);
freez(csp_list);