projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf91b3f
)
Mention the offending socket in the 'Empty server or forwarder response' message.
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Jul 2009 12:02:25 +0000
(12:02 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Jul 2009 12:02:25 +0000
(12:02 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
58fe9a0
..
fa3731b
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.26
0 2009/07/05 12:00:09
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.26
1 2009/07/05 12:00:53
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-2136,7
+2136,8
@@
static void chat(struct client_state *csp)
/* Did we actually get anything? */
if (NULL == csp->headers->first)
{
/* Did we actually get anything? */
if (NULL == csp->headers->first)
{
- log_error(LOG_LEVEL_ERROR, "Empty server or forwarder response.");
+ log_error(LOG_LEVEL_ERROR,
+ "Empty server or forwarder response received on socket %d.", csp->sfd);
log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s\" 502 0", csp->ip_addr_str, http->cmd);
send_crunch_response(csp, error_response(csp, "no-server-data"));
free_http_request(http);
log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s\" 502 0", csp->ip_addr_str, http->cmd);
send_crunch_response(csp, error_response(csp, "no-server-data"));
free_http_request(http);