X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=parsers.c;h=36a819f4a3cb4f3e800eb4e467efcdae7f16b4bb;hb=4fa68e2920544ec5d2585fe3e9efd65363e46032;hp=d5d49433db0c75cd54e8edbd390a7b64ea451fb9;hpb=07730e8ba6b3a5e4e1fff124c4d691f3d48e1559;p=privoxy.git diff --git a/parsers.c b/parsers.c index d5d49433..36a819f4 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.233 2011/09/04 11:36:50 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.234 2011/10/08 17:31:51 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -1850,6 +1850,15 @@ static jb_err client_connection(struct client_state *csp, char **header) log_error(LOG_LEVEL_HEADER, "Removing \'%s\' to imply keep-alive.", *header); freez(*header); + /* + * While we imply keep-alive to the server, + * we have to remember that the client didn't. + * + * XXX: The implied keep-alive currently doesn't + * actually work due to a not yet properly + * analyzed regression in chat() + */ + csp->flags &= ~CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE; } else {