From 6578564c9ac6ac0d832a2c656a18d52dfb6fca8b Mon Sep 17 00:00:00 2001 From: theli Date: Thu, 7 Sep 2006 05:38:35 +0000 Subject: [PATCH] *) Ignore more hop by hop http headers git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2504 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/http/httpdProxyHandler.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.java index bf703b1f6..fe18a6315 100644 --- a/source/de/anomic/http/httpdProxyHandler.java +++ b/source/de/anomic/http/httpdProxyHandler.java @@ -840,18 +840,13 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements htt private void removeHopByHopHeaders(httpHeader headers) { /* - * - Connection - - Keep-Alive - - Proxy-Authenticate - - Proxy-Authorization - - TE - Trailers - - Transfer-Encoding - - Upgrade */ headers.remove(httpHeader.CONNECTION); headers.remove(httpHeader.KEEP_ALIVE); + headers.remove(httpHeader.UPGRADE); + headers.remove(httpHeader.TE); headers.remove(httpHeader.PROXY_CONNECTION); headers.remove(httpHeader.PROXY_AUTHENTICATE); headers.remove(httpHeader.PROXY_AUTHORIZATION);