Hi,
I have the following setup on a dev server:
-
Maximum size of request content: 10240 kb
-
Maximum POST data: 20240 kb
-
Application File upload max size: 1025 kb
After some testing I’ve found the following:
-
if the post request/attachment size is over the “Maximum size of request content” (Internet Protocols - HTTP - HTTP Protocol Limits) setting then you get a page 404 immediately without any exceptions on the server
-
if the post request is below “Maximum size of request content” but is over the “Maximum POST data” (Internet Protocols - Domino Web Engine - POST Data) setting then after a short wait time you get a page 404 and an exception (Invalid POST request exception)
-
if the post request is below both the above settings (so it gets to the XSP/Xpages engine) but it’s over the application File Upload maximum size then you’ll get a validation error message in the application
It seems that the request goes to the HTTP server to check the limits and if it’s fine then it gets to the XPages enginge (with that you’ll get the above nasty error pages).
Setting the limits to 0 is not really an option, because we don’t want to allow unlimited sized posts.
We could configure domcfg to reply with a customized error page (or create a DSAPI filter), but it would be a server wide error page.
Is there any way to get around this problem and provide an application (or component) specific error message?
There are no WQS agents anymore ![]()
Thanks,
Tibor