Jetty8 parameter limit 2MB resolution

I found a circle on the Internet, but there was no solution by jetty8. Through analysis, we know the _maxFormContentSize control parameter size of the org.eclipse.jetty.server.handler.ContextHandler class.

By rewriting this class in the project src, modify the _maxFormContentSize property. The classes in the jar package will be overwritten during runtime, which is a bit stupid but solves the problem.

private int _maxFormContentSize = Integer.getInteger(“org.eclipse.jetty.server.Request.maxFormContentSize”,600000).intValue();

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4547 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.