jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1175707 - /incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/openjena/fuseki/server/SPARQLServer.java
Date Mon, 26 Sep 2011 08:05:20 GMT
Author: andy
Date: Mon Sep 26 08:05:20 2011
New Revision: 1175707

URL: http://svn.apache.org/viewvc?rev=1175707&view=rev
Log:
Increase max form size.

Modified:
    incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/openjena/fuseki/server/SPARQLServer.java

Modified: incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/openjena/fuseki/server/SPARQLServer.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/openjena/fuseki/server/SPARQLServer.java?rev=1175707&r1=1175706&r2=1175707&view=diff
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/openjena/fuseki/server/SPARQLServer.java
(original)
+++ incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/openjena/fuseki/server/SPARQLServer.java
Mon Sep 26 08:05:20 2011
@@ -118,7 +118,10 @@ public class SPARQLServer
         
         ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
         context.setErrorHandler(new FusekiErrorHandler()) ;
+        // Increase form size.
+        context.getServletContext().getContextHandler().setMaxFormContentSize(10*1000*1000)
;
         server.setHandler(context);
+        
         // Constants. Add RDF types.
         MimeTypes mt = new MimeTypes() ; 
         mt.addMimeMapping("rdf",    WebContent.contentTypeRDFXML+";charset=utf-8") ;
@@ -128,7 +131,6 @@ public class SPARQLServer
         mt.addMimeMapping("trig",   WebContent.contentTypeTriG+";charset=utf-8") ;
         context.setMimeTypes(mt) ;
         
-        
         // Fixed for now.
         String pages = true ? Fuseki.PagesAll : Fuseki.PagesPublish ; 
         serverLog.debug("Pages = "+pages) ;



Mime
View raw message