markt-asf commented on PR #723:
URL: https://github.com/apache/tomcat/pull/723#issuecomment-2290947428

   Tomcat isn't reserving all 4xx responses. It will close the connection if a 
small sub-set of those status codes is used and does so to avoid various 
potential security issues. Applications still have over 70 4xx codes to use 
that have not been defined by any RFC.
   
   The use of async has made determining if an error is set by the application 
or the container quite a bit trickier.
   
   I remain to be convinced both that applications should be using the 400 
status code and that differentiating between an application set 400 status code 
and container set 400 status code is possible without excessive complexity.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to