Permalink
Browse files

play.module.netty.maxContentLength

  • Loading branch information...
1 parent 913adb1 commit 63b6c5ed2dadcc600aafab09ac0df6a96fb8cce8 @pepite pepite committed Mar 1, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 documentation/manual/home.textile
  2. +1 −1 src/play/modules/netty/HttpServerPipelineFactory.java
@@ -21,7 +21,7 @@ h2. <a>Configuration</a>
By default, there is no maximum upload size. But the max upload size can be configured. In your application.conf add the following line:
-bc. module.netty.maxContentLength=1048576
+bc. play.module.netty.maxContentLength=1048576
A value of -1 means that there is no maximum upload size.
@@ -14,7 +14,7 @@
public ChannelPipeline getPipeline() throws Exception {
- Integer max = Integer.valueOf(Play.configuration.getProperty("module.netty.maxContentLength", "-1"));
+ Integer max = Integer.valueOf(Play.configuration.getProperty("play.module.netty.maxContentLength", "-1"));
if (max == -1) {
max = Integer.MAX_VALUE;
}

0 comments on commit 63b6c5e

Please sign in to comment.