An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
Hello @Pulin Gupta ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you would like to know the request body size limitation of azure application gateway without WAF.
Let us first understand how Azure Application gateway works with WAF and without WAF:
With WAF:
When WAF is enabled, every request has to be buffered by the Application Gateway until it fully arrives and check if the request matches with any rule violation in its core rule set and then forward the packet to the backend instances, this is also the case with large file uploads, and results in a latency that can be significant.
Maximum file upload size (WAF SKU): If you support file uploads then the value has to be as large as the largest file you are willing to accept. Limits are different for both SKUs (refer screenshot below).
WAF body size limit (without files): Refers to the size of data, with files excluded. You want to keep that value as low as practical. Limits are different depending upon the WAF engine used (refer screenshot below).
Without WAF:
Without WAF, there is no buffering done by the Application gateway for every request, so the default file upload size limit is applied for both body size with files and without files. The type of request does not matter, can be a upload/non-upload request. Limits are as below:
- Standard SKU V2 - 4 GB
- Standard SKU V1 - 2 GB
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.