JBoss EAP 6 continues an application processing without throwing an exception when the POST request exceeds the max-post-size limit

Solution Verified - Updated -

Issue

  • JBoss EAP 6 continues an application processing without throwing an exception when the POST request exceeds the max-post-size limit.
  • We have a web application which accepts a form request with the Content-Type "application/x-www-form-urlencoded". Even if the client's POST form data exceeds the max-post-size limit, JBoss EAP 6 does not throw an exception and continues the application processing without the POST request data. Is this an expected behavior? Is it possible to change to throw an exception?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.