Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Ignore more hop by hop http headers

theli6578564c9ac6
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);