Jake Slack | 03928ae | 2014-05-13 18:41:56 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> |
| 3 | |
| 4 | <!-- =============================================================== --> |
| 5 | <!-- Mixin configuration for Block socket connector --> |
| 6 | <!-- --> |
| 7 | <!-- =============================================================== --> |
| 8 | |
| 9 | |
| 10 | <Configure id="Server" class="org.eclipse.jetty.server.Server"> |
| 11 | |
| 12 | <!-- Use this connector if NIO is not available. --> |
| 13 | <Call name="addConnector"> |
| 14 | <Arg> |
| 15 | <New class="org.eclipse.jetty.server.bio.SocketConnector"> |
| 16 | <Set name="port"><Property name="jetty.bio.port" default="8081"/></Set> |
| 17 | <Set name="maxIdleTime">50000</Set> |
| 18 | <Set name="lowResourceMaxIdleTime">1500</Set> |
| 19 | </New> |
| 20 | </Arg> |
| 21 | </Call> |
| 22 | |
| 23 | </Configure> |