Omaha #3952 remove custom gzip handling since it is by default enabled
by apache httpclient Change-Id: I4a1f05c11228139c8df1d2883b951c8d876f3802 Former-commit-id:7e8d355f62
[formerly63189329a1
] [formerlyc4598baf19
[formerly 4f67ebeb092d182ec0a4e5078e668313d8cc6a57]] Former-commit-id:c4598baf19
Former-commit-id:dead055dca
This commit is contained in:
parent
60227bcce2
commit
4672329a75
2 changed files with 1 additions and 2 deletions
|
@ -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(
|
||||||
|
|
|
@ -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"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue