Skip to content

Commit

Permalink
link to max_message_size attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 15, 2014
1 parent bde883e commit 395f19d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -923,7 +923,8 @@ file with L<Mojo::Asset::File/"move_to">.
$tx->res->content->asset->move_to('mojo.tar.gz');

To protect you from excessively large files there is also a limit of 10MB by
default, which you can tweak with the C<MOJO_MAX_MESSAGE_SIZE> environment
default, which you can tweak with the attribute
L<Mojo::Message/"max_message_size"> or C<MOJO_MAX_MESSAGE_SIZE> environment
variable.

# Increase limit to 1GB
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojolicious/Lite.pm
Expand Up @@ -835,7 +835,8 @@ temporary file.
</html>
To protect you from excessively large files there is also a limit of 10MB by
default, which you can tweak with the C<MOJO_MAX_MESSAGE_SIZE> environment
default, which you can tweak with the attribute
L<Mojo::Message/"max_message_size"> or C<MOJO_MAX_MESSAGE_SIZE> environment
variable.
# Increase limit to 1GB
Expand Down

0 comments on commit 395f19d

Please sign in to comment.