430822 - jetty-start / make soLingerTime configurable via property

+ Added 'https.soLingerTime' and 'http.soLingerTime' properties
This commit is contained in:
Joakim Erdfelt 2014-03-20 17:11:35 -07:00
parent 267542b315
commit 116f6bc281
4 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,7 @@
<Set name="host"><Property name="jetty.host" /></Set>
<Set name="port"><Property name="jetty.port" default="80" /></Set>
<Set name="idleTimeout"><Property name="http.timeout" default="30000"/></Set>
<Set name="soLingerTime"><Property name="http.soLingerTime" default="-1"/></Set>
</New>
</Arg>
</Call>

View File

@ -41,6 +41,7 @@
<Set name="host"><Property name="jetty.host" /></Set>
<Set name="port"><Property name="https.port" default="443" /></Set>
<Set name="idleTimeout"><Property name="https.timeout" default="30000"/></Set>
<Set name="soLingerTime"><Property name="https.soLingerTime" default="-1"/></Set>
</New>
</Arg>
</Call>

View File

@ -10,5 +10,9 @@ etc/jetty-http.xml
[ini-template]
## HTTP Connector Configuration
# HTTP port to listen on
jetty.port=8080
# HTTP idle timeout in milliseconds
http.timeout=30000
# HTTP Socket.soLingerTime in seconds. (-1 to disable)
# http.soLingerTime=-1

View File

@ -14,3 +14,6 @@ etc/jetty-https.xml
https.port=8443
# HTTPS idle timeout in milliseconds
https.timeout=30000
# HTTPS Socket.soLingerTime in seconds. (-1 to disable)
# https.soLingerTime=-1