michael-o commented on a change in pull request #228: Correct header too large status to 414 URL: https://github.com/apache/tomcat/pull/228#discussion_r353130285
########## File path: java/org/apache/coyote/http11/Http11InputBuffer.java ########## @@ -723,7 +723,7 @@ private boolean fill(boolean block) throws IOException { // Avoid unknown protocol triggering an additional error request.protocol().setString(Constants.HTTP_11); } - throw new IllegalArgumentException(sm.getString("iib.requestheadertoolarge.error")); + throw new HeadersTooLargeException(sm.getString("iib.requestheadertoolarge.error")); } Review comment: This looks incomplete to me. What about https://github.com/apache/tomcat/blob/f4e7cdcff5abc239866e1d69906086cf1bae78ad/java/org/apache/coyote/http11/Http11Processor.java#L379-L389? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org