X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=fab23781b4a456dc2fa3a40e7952274ad153a929;hp=f25854443292efa1ee96970df5e7d1c55dbf50d0;hb=c9e03e7fecd9b4c39896ae57094df9eeb8ce902d;hpb=077000e8524dab83fc33ff1366238d242bab4cb0 diff --git a/jcc.c b/jcc.c index f2585444..fab23781 100644 --- a/jcc.c +++ b/jcc.c @@ -881,8 +881,8 @@ static void send_crunch_response(struct client_state *csp, struct http_response { /* There is nothing we can do about it. */ log_error(LOG_LEVEL_CONNECT, "Couldn't deliver the error message " - "for %s through client socket %d using TLS/SSL", - http->url, csp->cfd); + "for https://%s%s through client socket %d using TLS/SSL", + http->hostport, http->url, csp->cfd); } } else @@ -1201,6 +1201,7 @@ void save_connection_destination(jb_socket sfd, } server_connection->forward_port = fwd->forward_port; } +#endif /* FEATURE_CONNECTION_KEEP_ALIVE */ /********************************************************************* @@ -1301,7 +1302,6 @@ static void verify_request_length(struct client_state *csp) log_error(LOG_LEVEL_CONNECT, "Complete client request received."); } } -#endif /* FEATURE_CONNECTION_KEEP_ALIVE */ /********************************************************************* @@ -1922,6 +1922,7 @@ static jb_err parse_client_request(struct client_state *csp) /* Assume persistence until further notice */ csp->flags |= CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE; } +#endif /* def FEATURE_CONNECTION_KEEP_ALIVE */ if (csp->http->ssl == 0) { @@ -1948,7 +1949,6 @@ static jb_err parse_client_request(struct client_state *csp) csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED; } #endif -#endif /* def FEATURE_CONNECTION_KEEP_ALIVE */ err = sed(csp, FILTER_CLIENT_HEADERS); if (JB_ERR_OK != err)