I am experiencing slow download times over WAN links from JENKINS. Not going into details of the problem i would like to configure Jetty apparently used by Jenkins to add the following connector:
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Set name="host"><Property name="application-host"/></Set>
<Set name="port"><Property name="application-port"/></Set>
<Set name="forwarded">true</Set>
<Set name="responseBufferSize">16777216</Set>
<Set name="responseHeaderSize">1048576</Set>
</New>
but i am not sure what is the right spot to do it. I cannot find jetty.xml file anywhere in my installation. I am using Jenkins on Windows so i guess i am just launching it using java -jar jenkins.war which is supposed to use Jetty/Winstone.
EDIT: Looks like this cannot be done by just changing configuration. At least not in SSL context: https://github.com/J-cztery/winstone/blob/master/src/java/winstone/HttpsConnectorFactory.java hardcodes creation of ServerContext.