forked from I2P_Developers/i2p.i2p
* EepGet:
- Add gunzip support (nonproxied only) - Clean up progress formatting * SSLEepGet: - Add gunzip support - Increase buffer size
This commit is contained in:
@@ -76,6 +76,19 @@ public class I2PSocketEepGet extends EepGet {
|
||||
return rv;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overridden to disable inline gunzipping
|
||||
* @since 0.8.10
|
||||
*/
|
||||
@Override
|
||||
protected void readHeaders() throws IOException {
|
||||
try {
|
||||
super.readHeaders();
|
||||
} finally {
|
||||
_isGzippedResponse = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Look up the address, get a socket from the I2PSocketManager supplied in the constructor,
|
||||
* and send the request.
|
||||
|
Reference in New Issue
Block a user