From f968e66b6092c17a8579ee947fdd64da9d6a1226 Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 15 Jan 2018 10:55:55 +0530 Subject: [PATCH] Adding fix for https://github.com/wso2/product-iots/issues/1590 --- modules/distribution/src/assembly/bin.xml | 14 ++++++++++++++ .../src/core/conf/tomcat/catalina-server.xml | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 3ebe56cd..4d0a1183 100755 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -675,6 +675,7 @@ **/LICENSE.txt **/release-notes.html **/webapp-mode/WEB-INF/web.xml + **/tomcat/catalina-server.xml @@ -971,6 +972,7 @@ **/LICENSE.txt **/release-notes.html **/dbscripts + **/tomcat/catalina-server.xml @@ -1227,6 +1229,18 @@ true 644 + + src/core/conf/tomcat/catalina-server.xml + ${pom.artifactId}-${pom.version}/wso2/analytics/conf/tomcat + true + 644 + + + src/core/conf/tomcat/catalina-server.xml + ${pom.artifactId}-${pom.version}/wso2/broker/conf/tomcat + true + 644 + src/core/conf/synapse-handlers.xml diff --git a/modules/distribution/src/core/conf/tomcat/catalina-server.xml b/modules/distribution/src/core/conf/tomcat/catalina-server.xml index fdc212f2..65e534c3 100644 --- a/modules/distribution/src/core/conf/tomcat/catalina-server.xml +++ b/modules/distribution/src/core/conf/tomcat/catalina-server.xml @@ -38,7 +38,7 @@ maxKeepAliveRequests="200" acceptCount="200" server="WSO2 Carbon Server" - compression="on" + compression="off" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" compressableMimeType="text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg" @@ -65,7 +65,7 @@ acceptCount="200" server="WSO2 Carbon Server" clientAuth="want" - compression="on" + compression="off" scheme="https" secure="true" SSLEnabled="true"