X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=85be466c1e091cdc9df134ba5af4b0325d8a75c0;hp=58fe9a031904ed1a3eb660d6c614d6886bb39cc5;hb=def547e44b817a959280a96ca921b554945da5b6;hpb=d59c368d0ecf1514f0e177bee5ba62a665a367c0 diff --git a/jcc.c b/jcc.c index 58fe9a03..85be466c 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.260 2009/07/05 12:00:09 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.262 2009/07/05 12:02:25 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1142,7 +1142,7 @@ static void mark_server_socket_tainted(struct client_state *csp) if ((csp->flags & CSP_FLAG_SERVER_CONNECTION_KEEP_ALIVE)) { log_error(LOG_LEVEL_CONNECT, - "Marking the connection to the server tainted."); + "Marking the server socket %d tainted.", csp->sfd); csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED; } } @@ -2136,7 +2136,8 @@ static void chat(struct client_state *csp) /* 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);