projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e123004
)
Don't assume persistence if RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE is disabled.
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 19 Jul 2009 10:04:55 +0000
(10:04 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 19 Jul 2009 10:04:55 +0000
(10:04 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
d637017
..
ca76d7d
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.27
1 2009/07/14 17:50:34
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.27
2 2009/07/14 18:02:25
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-1418,7
+1418,8
@@
static jb_err parse_client_request(struct client_state *csp)
jb_err err;
#ifdef FEATURE_CONNECTION_KEEP_ALIVE
jb_err err;
#ifdef FEATURE_CONNECTION_KEEP_ALIVE
- if ((!strcmpic(csp->http->ver, "HTTP/1.1"))
+ if ((csp->flags & RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE)
+ && (!strcmpic(csp->http->ver, "HTTP/1.1"))
&& (csp->http->ssl == 0))
{
/* Assume persistence until further notice */
&& (csp->http->ssl == 0))
{
/* Assume persistence until further notice */