Changeset 64a7531


Ignore:
Timestamp:
May 20, 2011 12:43:50 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
20452c9
Parents:
5ce439f
Message:
  • i2ptunnel: Fix server-side stripping of X-Accept-encoding
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPServer.java

    r5ce439f r64a7531  
    117117            // "identity;q=1, *;q=0" didn't. 
    118118            setEntry(headers, "Accept-encoding", "");
    119             String modifiedHeader = formatHeaders(headers, command);
    120            
    121             //String modifiedHeader = getModifiedHeader(socket);
    122             if (_log.shouldLog(Log.DEBUG))
    123                 _log.debug("Modified header: [" + modifiedHeader + "]");
    124119
    125120            socket.setReadTimeout(readTimeout);
     
    144139            if (alt)
    145140                headers.remove("X-Accept-encoding");
     141
     142            String modifiedHeader = formatHeaders(headers, command);
     143            if (_log.shouldLog(Log.DEBUG))
     144                _log.debug("Modified header: [" + modifiedHeader + "]");
    146145           
    147146            if (allowGZIP && useGZIP) {
Note: See TracChangeset for help on using the changeset viewer.