<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_9_3.dtd">

<!-- =============================================================== -->
<!-- Mixin the Thread Limit Handler to the entire server             -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call name="insertHandler">
    <Arg>
      <New id="ThreadLimitHandler" class="org.eclipse.jetty.server.handler.ThreadLimitHandler">
        <Arg name="forwardedHeader"><Property name="jetty.threadlimit.forwardedHeader"/></Arg> 
        <Set name="enabled"><Property name="jetty.threadlimit.enabled" default="true"/></Set> 
        <Set name="threadLimit"><Property name="jetty.threadlimit.threadLimit" default="10"/></Set> 
      </New>
    </Arg>
  </Call>
</Configure>


