2016-07-08 15:40:24 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
|
|
|
|
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<!-- Configure a HTTP2 on the ssl connector. -->
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<Configure id="sslConnector" class="org.eclipse.jetty.server.ServerConnector">
|
|
|
|
<Call name="addConnectionFactory">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory">
|
|
|
|
<Arg name="config"><Ref refid="sslHttpConfig"/></Arg>
|
|
|
|
<Set name="maxConcurrentStreams"><Property name="jetty.http2.maxConcurrentStreams" deprecated="http2.maxConcurrentStreams" default="1024"/></Set>
|
2017-04-22 12:27:40 +07:00
|
|
|
<Set name="initialStreamRecvWindow"><Property name="jetty.http2.initialStreamRecvWindow" default="65535"/></Set>
|
2016-07-08 15:40:24 +07:00
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
|
|
|
|
<Ref refid="sslContextFactory">
|
|
|
|
<Set name="CipherComparator">
|
|
|
|
<Get class="org.eclipse.jetty.http2.HTTP2Cipher" name="COMPARATOR"/>
|
|
|
|
</Set>
|
|
|
|
<Set name="useCipherSuitesOrder">true</Set>
|
|
|
|
</Ref>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- remove http/1.1 from first list and push in end list -->
|
|
|
|
<Call name="removeConnectionFactory">
|
|
|
|
<Arg name="config">http/1.1</Arg>
|
|
|
|
</Call>
|
|
|
|
|
|
|
|
<Call name="addConnectionFactory">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
|
|
|
|
<Arg name="config"><Ref refid="sslHttpConfig" /></Arg>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
|
|
|
|
</Configure>
|