Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Perlbal::Plugin::MaxContentLength - Reject large requests

Author

       Adam Thomason, <athomason@sixapart.com>

Description

       This module rejects requests that are larger than a configured limit. If a request bears a Content-Length
       header whose value exceeds the max_content_length value, the request will be rejected with a 413 "Request
       Entity Too Large" error.

Name

       Perlbal::Plugin::MaxContentLength - Reject large requests

Synopsis

           LOAD MaxContentLength
           CREATE SERVICE cgilike
               # define a service...
               SET max_content_length  = 100000
               SET plugins             = MaxContentLength
           ENABLE cgilike

See Also