2015-01-05 10:45:58 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
|
|
|
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<!-- Configure the Jetty Server instance with an ID "Server" -->
|
|
|
|
<!-- by adding a HTTP connector. -->
|
|
|
|
<!-- This configuration must be used in conjunction with jetty.xml -->
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
|
|
|
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<!-- Add a HTTP Connector. -->
|
|
|
|
<!-- Configure an o.e.j.server.ServerConnector with a single -->
|
|
|
|
<!-- HttpConnectionFactory instance using the common httpConfig -->
|
|
|
|
<!-- instance defined in jetty.xml -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- Consult the javadoc of o.e.j.server.ServerConnector and -->
|
|
|
|
<!-- o.e.j.server.HttpConnectionFactory for all configuration -->
|
|
|
|
<!-- that may be set here. -->
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<Call name="addConnector">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.eclipse.jetty.server.ServerConnector">
|
|
|
|
<Arg name="server"><Ref refid="Server" /></Arg>
|
2015-04-22 07:35:31 -04:00
|
|
|
<Arg name="acceptors" type="int"><Property name="solr.jetty.http.acceptors" default="-1"/></Arg>
|
|
|
|
<Arg name="selectors" type="int"><Property name="solr.jetty.http.selectors" default="-1"/></Arg>
|
2015-01-05 10:45:58 -05:00
|
|
|
<Arg name="factories">
|
|
|
|
<Array type="org.eclipse.jetty.server.ConnectionFactory">
|
|
|
|
<Item>
|
|
|
|
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
|
2015-04-22 07:35:31 -04:00
|
|
|
<Arg name="config"><Ref refid="httpConfig" /></Arg>
|
2015-01-05 10:45:58 -05:00
|
|
|
</New>
|
|
|
|
</Item>
|
2018-12-16 11:58:20 -05:00
|
|
|
<Item>
|
|
|
|
<New class="org.eclipse.jetty.http2.server.HTTP2CServerConnectionFactory">
|
|
|
|
<Arg name="config"><Ref refid="httpConfig" /></Arg>
|
|
|
|
</New>
|
|
|
|
</Item>
|
2015-01-05 10:45:58 -05:00
|
|
|
</Array>
|
|
|
|
</Arg>
|
2020-01-13 09:42:30 -05:00
|
|
|
<Set name="host"><Property name="solr.jetty.host" default="127.0.0.1"/></Set>
|
2015-04-22 07:35:31 -04:00
|
|
|
<Set name="port"><Property name="jetty.port" default="8983" /></Set>
|
2016-04-01 12:21:59 -04:00
|
|
|
<Set name="idleTimeout"><Property name="solr.jetty.http.idleTimeout" default="120000"/></Set>
|
2015-04-22 07:35:31 -04:00
|
|
|
<Set name="acceptorPriorityDelta"><Property name="solr.jetty.http.acceptorPriorityDelta" default="0"/></Set>
|
|
|
|
<Set name="acceptQueueSize"><Property name="solr.jetty.http.acceptQueueSize" default="0"/></Set>
|
2015-01-05 10:45:58 -05:00
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
|
2019-12-16 04:12:16 -05:00
|
|
|
</Configure>
|