Am Montag, 3. Dezember 2018 10:29:49 UTC+1 schrieb Mikhail:
>
> I try to set *$c->req->max_message_size(0) *per ONE route/action.
>
> This is not work. How to upload big data but not whole APP for?
>

Can't actually answer your question outright, but maybe have two ideas for 
things you could try:

1) Some methods called on the request require the request to be parsed and 
cache the parsed data.
So if you call any of those methods (in your controller or in any hook 
callback like 'around_dispatch') *before* increasing the limit it may 
already be to late for the latter.

2) I do not know how the relationship between the controller attribute 
"max_request_size" and the "max_message_size" request attribute looks like.
That is: does Controller->max_request_size(0) actually raise the limit for 
every request or is it just needed to actually *be allowed* to raise 
the "max_message_size" limit for the individual request?
Maybe some experimentation will help you here.

HTH
- Heiko

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to