* EepGet:

- Add gunzip support (nonproxied only)
    - Clean up progress formatting
  * SSLEepGet:
    - Add gunzip support
    - Increase buffer size
This commit is contained in:
zzz
2011-10-15 17:20:30 +00:00
parent 104594ed59
commit e8712a3a11
3 changed files with 158 additions and 32 deletions

View File

@@ -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.