Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-4265: Remove useless setting in Jetty's server config file, as maximum form content is now handled by solr's RequestParser and not the web container.

Uwe Schindlerb56b6c1f713a
diff --git a/solr/example/contexts/solr.xml b/solr/example/contexts/solr.xml
index 250a49b4fea..50978a365ff 100644
--- a/solr/example/contexts/solr.xml
+++ b/solr/example/contexts/solr.xml
@@ -5,6 +5,4 @@
<Set name="war"><SystemProperty name="jetty.home"/>/webapps/solr.war</Set>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home"/>/etc/webdefault.xml</Set>
<Set name="tempDirectory"><Property name="jetty.home" default="."/>/solr-webapp</Set>
- <!-- Increase the maximum POST size to 1 MB to be able to handle large shard requests -->
- <Set name="maxFormContentSize">1000000</Set>
</Configure>
diff --git a/solr/example/etc/jetty.xml b/solr/example/etc/jetty.xml
index 3cc16c696ea..e2674125a84 100644
--- a/solr/example/etc/jetty.xml
+++ b/solr/example/etc/jetty.xml
@@ -12,17 +12,6 @@
<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 -->
- <!-- allthough documented as the correct way to set the max POST size for
- all webapps in a single server, this doesn't actaully work.
- So instead it is set on the WebAppContext.
- -->
- <!--
- <Call name="setAttribute">
- <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
- <Arg>1000000</Arg>
- </Call>
- -->
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->