> > 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. >
It's too late since the entire HTTP request has already been parsed when the router starts. Only way around that at the moment is to use hooks like after_build_tx and various events to set max_message_size earlier. -- sebastian -- 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.
