Skip to content
Permalink
Browse files
[FIXED JENKINS-20327][FIXED JENKINS-23221][FIXED JENKINS-24804][FIXED…
… JENKINS-21064] java.lang.IllegalStateException: Form too large
  • Loading branch information
stephenc committed Oct 21, 2014
1 parent f42497a commit 9ae4206d85863b1f478bf21aa1a80a9111c66722
Showing with 3 additions and 0 deletions.
  1. +2 −0 src/java/winstone/Launcher.java
  2. +1 −0 src/java/winstone/cmdline/Option.java
@@ -138,6 +138,8 @@ public Launcher(Map args) throws IOException {
if (maxParameterCount>0) {
server.setAttribute("org.eclipse.jetty.server.Request.maxFormKeys",maxParameterCount);
}
server.setAttribute("org.eclipse.jetty.server.Request.maxFormContentSize",
Option.REQUEST_FORM_CONTENT_SIZE.get(args));

// Open the web apps
this.hostGroup = new HostGroup(server, commonLibCL,
@@ -112,6 +112,7 @@ public static List<Option<?>> all(Class<?> clazz) {
public static final OInt SESSION_TIMEOUT=integer("sessionTimeout",-1);
public static final OInt REQUEST_HEADER_SIZE=integer("requestHeaderSize",8192); // default for jetty 8
public static final OInt REQUEST_BUFFER_SIZE=integer("requestBufferSize",16384); // default for jetty 8
public static final OInt REQUEST_FORM_CONTENT_SIZE=integer("requestFormContentSize",-1); // no limit (compat with old winstone)
public static final OBoolean HELP=bool("help",false);

public static final OClass REALM_CLASS_NAME=clazz("realmClassName", ArgumentsRealm.class);

0 comments on commit 9ae4206

Please sign in to comment.