https://bz.apache.org/bugzilla/show_bug.cgi?id=62058

--- Comment #2 from Christopher Schultz <[email protected]> ---
What about shipping Tomcat with a trivial Filter that dispatches to the filter
chain in a try/catch block, catches
org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException,
and returns 413 to the caller if caught?

That would allow applications to be compile-time-independent of Tomcat (good)
while also being able to handle this exception. Yes, it requires a
runtime-dependency on Tomcat, but that's much better than a compile-time one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to