SOLR-3159: config jetty post form size, headers like prev version

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2012-03-20 15:17:14 +00:00
parent 5648222e86
commit 30f5ecb2f1
1 changed files with 9 additions and 3 deletions

View File

@ -12,6 +12,12 @@
<Configure id="Server" class="org.eclipse.jetty.server.Server"> <Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- Increase the maximum POST size to 1 MB to be able to handle large shard requests -->
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
<Arg>200000</Arg>
</Call>
<!-- =========================================================== --> <!-- =========================================================== -->
<!-- Server Thread Pool --> <!-- Server Thread Pool -->
<!-- =========================================================== --> <!-- =========================================================== -->
@ -34,7 +40,7 @@
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Set name="host"><SystemProperty name="jetty.host" /></Set> <Set name="host"><SystemProperty name="jetty.host" /></Set>
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set> <Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
<Set name="maxIdleTime">30000</Set> <Set name="maxIdleTime">50000</Set>
<Set name="Acceptors">2</Set> <Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set> <Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set> <Set name="confidentialPort">8443</Set>
@ -86,8 +92,8 @@
<!-- extra options --> <!-- extra options -->
<!-- =========================================================== --> <!-- =========================================================== -->
<Set name="stopAtShutdown">true</Set> <Set name="stopAtShutdown">true</Set>
<Set name="sendServerVersion">true</Set> <Set name="sendServerVersion">false</Set>
<Set name="sendDateHeader">true</Set> <Set name="sendDateHeader">false</Set>
<Set name="gracefulShutdown">1000</Set> <Set name="gracefulShutdown">1000</Set>
<Set name="dumpAfterStart">false</Set> <Set name="dumpAfterStart">false</Set>
<Set name="dumpBeforeStop">false</Set> <Set name="dumpBeforeStop">false</Set>