X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=ssl_common.c;h=add68a2861d4509778ad72fe4bec42455df5f567;hp=ea16bece1549f375da5bef829bbee02be911a16b;hb=dd6cf7bc200b13da0532b39f22370ac7c9fa99c5;hpb=d9280438a5d9aa1e56592b30ffd80bc0b5831469 diff --git a/ssl_common.c b/ssl_common.c index ea16bece..add68a28 100644 --- a/ssl_common.c +++ b/ssl_common.c @@ -416,6 +416,11 @@ extern void ssl_send_certificate_error(struct client_state *csp) log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %u", csp->ip_addr_str, csp->http->gpc, csp->http->hostport, csp->http->path, csp->http->version, message_len-head_length); + +#ifdef FEATURE_CONNECTION_KEEP_ALIVE + csp->flags &= ~CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE; + csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED; +#endif }