projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d59c368
)
If we decided not to keep the connection to the server alive, don't reuse a remembere...
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Jul 2009 12:01:45 +0000
(12:01 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Jul 2009 12:01:45 +0000
(12:01 +0000)
gateway.c
patch
|
blob
|
history
diff --git
a/gateway.c
b/gateway.c
index
d45e3e7
..
9088a5c
100644
(file)
--- a/
gateway.c
+++ b/
gateway.c
@@
-1,4
+1,4
@@
-const char gateway_rcs[] = "$Id: gateway.c,v 1.5
3 2009/05/16 13:27:20
fabiankeil Exp $";
+const char gateway_rcs[] = "$Id: gateway.c,v 1.5
4 2009/05/19 17:43:45
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.c,v $
@@
-598,7
+598,8
@@
jb_socket forwarded_connect(const struct forward_spec * fwd,
jb_socket sfd = JB_INVALID_SOCKET;
#ifdef FEATURE_CONNECTION_KEEP_ALIVE
jb_socket sfd = JB_INVALID_SOCKET;
#ifdef FEATURE_CONNECTION_KEEP_ALIVE
- if ((csp->config->feature_flags & RUNTIME_FEATURE_CONNECTION_SHARING))
+ if ((csp->config->feature_flags & RUNTIME_FEATURE_CONNECTION_SHARING)
+ && !(csp->flags & CSP_FLAG_SERVER_SOCKET_TAINTED))
{
sfd = get_reusable_connection(http, fwd);
if (JB_INVALID_SOCKET != sfd)
{
sfd = get_reusable_connection(http, fwd);
if (JB_INVALID_SOCKET != sfd)