Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: bf021e386d48e4e8c6fc1ae21de50e75b7a8d3c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">

<!-- ============================================================= -->
<!-- Configure a HTTP2 on the ssl connector.                       -->
<!-- ============================================================= -->
<Configure id="httpConnector" class="org.eclipse.jetty.server.ServerConnector">
  <Call name="addConnectionFactory">
    <Arg>
      <New class="org.eclipse.jetty.http2.server.HTTP2CServerConnectionFactory">
        <Arg name="config"><Ref refid="httpConfig"/></Arg>
        <Set name="maxConcurrentStreams"><Property name="jetty.http2.maxConcurrentStreams,http2.maxConcurrentStreams" default="1024"/></Set>
        <Set name="initialStreamSendWindow"><Property name="jetty.http2.initialStreamSendWindow" default="65535"/></Set>
      </New>
    </Arg>
  </Call>
</Configure>

Back to the top