From 73b0168313757be222c9c183f890494f7bd20a91 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 19 Jul 2009 11:19:50 +0000 Subject: [PATCH] If you're masking csp->flags with RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE you're doing it wrong. --- jcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.39.2