From: Fabian Keil Date: Fri, 14 Jan 2011 21:35:44 +0000 (+0000) Subject: Ditch an already disabled workaround for a mysterious PHP bug in client_accept_encodi... X-Git-Tag: v_3_0_18~353 X-Git-Url: http://www.privoxy.org/gitweb/startup.html?a=commitdiff_plain;h=480766b7a6bbc748584d259f32a82eb23680d12c;p=privoxy.git Ditch an already disabled workaround for a mysterious PHP bug in client_accept_encoding(). --- diff --git a/parsers.c b/parsers.c index 7e621040..7acacdb0 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.214 2010/06/13 12:26:32 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.215 2010/12/18 12:56:33 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -2554,22 +2554,7 @@ static jb_err client_accept_encoding(struct client_state *csp, char **header) if ((csp->action->flags & ACTION_NO_COMPRESSION) != 0) { log_error(LOG_LEVEL_HEADER, "Suppressed offer to compress content"); - freez(*header); - - /* Temporarily disable the correct behaviour to - * work around a PHP bug. - * - * if (!strcmpic(csp->http->ver, "HTTP/1.1")) - * { - * *header = strdup("Accept-Encoding: identity;q=1.0, *;q=0"); - * if (*header == NULL) - * { - * return JB_ERR_MEMORY; - * } - * } - * - */ } return JB_ERR_OK;