projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e07c90
)
In case of SOCKS5 failures, dump the socks response
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 23 Oct 2011 11:21:09 +0000
(11:21 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 23 Oct 2011 11:21:09 +0000
(11:21 +0000)
gateway.c
patch
|
blob
|
history
diff --git
a/gateway.c
b/gateway.c
index
de24572
..
f28823b
100644
(file)
--- a/
gateway.c
+++ b/
gateway.c
@@
-1,4
+1,4
@@
-const char gateway_rcs[] = "$Id: gateway.c,v 1.
79 2011/10/16 12:37:12
fabiankeil Exp $";
+const char gateway_rcs[] = "$Id: gateway.c,v 1.
80 2011/10/23 11:20:51
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.c,v $
@@
-1118,7
+1118,7
@@
static jb_socket socks5_connect(const struct forward_spec *fwd,
assert(errstr != NULL);
csp->error_message = strdup(errstr);
assert(errstr != NULL);
csp->error_message = strdup(errstr);
- log_error(LOG_LEVEL_CONNECT, "socks5_connect: %s
", errstr
);
+ log_error(LOG_LEVEL_CONNECT, "socks5_connect: %s
: %N", errstr, server_size, sbuf
);
close_socket(sfd);
errno = EINVAL;
close_socket(sfd);
errno = EINVAL;