Omaha #3952 remove custom gzip handling since it is by default enabled

by apache httpclient

Change-Id: I4a1f05c11228139c8df1d2883b951c8d876f3802

Former-commit-id: 7e8d355f62 [formerly 63189329a1] [formerly c4598baf19 [formerly 4f67ebeb092d182ec0a4e5078e668313d8cc6a57]]
Former-commit-id: c4598baf19
Former-commit-id: dead055dca
This commit is contained in:
Nate Jensen 2015-01-26 09:10:36 -06:00
parent 60227bcce2
commit 4672329a75
2 changed files with 1 additions and 2 deletions

View file

@ -62,6 +62,7 @@ import com.raytheon.uf.viz.thinclient.ui.ThinClientConnectivityDialog;
* May 19, 2014 3164 bsteffen Disable request compression if it * May 19, 2014 3164 bsteffen Disable request compression if it
* doesn't work. * doesn't work.
* Sep 05, 2014 3570 bclement HTTP client API changes * Sep 05, 2014 3570 bclement HTTP client API changes
* Jan 26, 2014 3952 njensen gzip handled by default
* *
* </pre> * </pre>
* *
@ -87,7 +88,6 @@ public class ThinClientLocalizationInitializer extends LocalizationInitializer {
HttpClient httpClient = HttpClient.getInstance(); HttpClient httpClient = HttpClient.getInstance();
HttpClientConfigBuilder confBuilder = new HttpClientConfigBuilder( HttpClientConfigBuilder confBuilder = new HttpClientConfigBuilder(
httpClient.getConfig()); httpClient.getConfig());
confBuilder.setHandlingGzipResponses(true);
HttpClient.configureGlobalInstance(confBuilder.build()); HttpClient.configureGlobalInstance(confBuilder.build());
if (promptUI) { if (promptUI) {
ThinClientConnectivityDialog dlg = new ThinClientConnectivityDialog( ThinClientConnectivityDialog dlg = new ThinClientConnectivityDialog(

View file

@ -105,7 +105,6 @@
<property name="maxConnections" value="${PYPIES_MAX_CONN}"/> <property name="maxConnections" value="${PYPIES_MAX_CONN}"/>
<!-- value in milliseconds to allow socket to timeout, don't allow this to be zero, bad things could happen --> <!-- value in milliseconds to allow socket to timeout, don't allow this to be zero, bad things could happen -->
<property name="socketTimeout" value="180000"/> <property name="socketTimeout" value="180000"/>
<property name="handlingGzipResponses" value="false"/>
</bean> </bean>
<bean id="httpClientConfig" factory-bean="httpClientConfigBuilder" factory-method="build"/> <bean id="httpClientConfig" factory-bean="httpClientConfigBuilder" factory-method="build"/>