From: Fabian Keil Date: Sun, 19 Jul 2009 11:19:50 +0000 (+0000) Subject: If you're masking csp->flags with RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE you're doing... X-Git-Tag: v_3_0_14~12 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=73b0168313757be222c9c183f890494f7bd20a91;p=privoxy.git If you're masking csp->flags with RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE you're doing it wrong. --- diff --git a/jcc.c b/jcc.c index ca76d7dc..3cc76bb6 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.272 2009/07/14 18:02:25 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.273 2009/07/19 10:04:55 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1418,7 +1418,7 @@ static jb_err parse_client_request(struct client_state *csp) jb_err err; #ifdef FEATURE_CONNECTION_KEEP_ALIVE - if ((csp->flags & RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE) + if ((csp->config->feature_flags & RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE) && (!strcmpic(csp->http->ver, "HTTP/1.1")) && (csp->http->ssl == 0)) {