Skip to content

Commit 47e4efa

Browse files
Merge pull request #1078 from h0nIg/patch-1
harmonization of gorouter -> java app communication
2 parents e2dd4eb + 5fb2f95 commit 47e4efa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/tomcat/conf/server.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Server port='-1'>
2020

2121
<Service name='Catalina'>
22-
<Connector port='${http.port}' bindOnInit='false' connectionTimeout='20000'>
22+
<Connector port='${http.port}' bindOnInit='false' connectionTimeout='20000' keepAliveTimeout='120000'>
2323
<UpgradeProtocol className='org.apache.coyote.http2.Http2Protocol' />
2424
</Connector>
2525

spec/fixtures/container_tomcat_geode_store/.java-buildpack/tomcat/conf/server.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Server port='-1'>
1919

2020
<Service name='Catalina'>
21-
<Connector port='${http.port}' bindOnInit='false' connectionTimeout='20000'/>
21+
<Connector port='${http.port}' bindOnInit='false' connectionTimeout='20000' keepAliveTimeout='120000'/>
2222

2323
<Engine defaultHost='localhost' name='Catalina'>
2424
<Valve className='org.apache.catalina.valves.RemoteIpValve' protocolHeader='x-forwarded-proto'/>

spec/fixtures/container_tomcat_geode_store_server_after.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
-->
1818
<Server port='-1'>
1919
<Service name='Catalina'>
20-
<Connector port='${http.port}' bindOnInit='false' connectionTimeout='20000'/>
20+
<Connector port='${http.port}' bindOnInit='false' connectionTimeout='20000' keepAliveTimeout='120000'/>
2121
<Engine defaultHost='localhost' name='Catalina'>
2222
<Valve className='org.apache.catalina.valves.RemoteIpValve' protocolHeader='x-forwarded-proto'/>
2323
<Valve className='com.gopivotal.cloudfoundry.tomcat.logging.access.CloudFoundryAccessLoggingValve' pattern='[ACCESS] %{org.apache.catalina.AccessLog.RemoteAddr}r %l %t %D %F %B %S vcap_request_id:%{X-Vcap-Request-Id}i' enabled='${access.logging.enabled}'/>

0 commit comments

Comments
 (0)