Module fastly::limits[][src]

Expand description

Automatically enforced limits for HTTP components.

When reading in the client request and backend responses, these limits are used to bound the size of various components of the requests and responses. When these limits are exceeded, the program will panic, returning a 500 Internal Server Error to the client.

You can modify these limits, though applications are still subject to the overall WebAssembly heap size limit.

Structs

RequestLimits

The limits for components of an HTTP request.

ResponseLimits

The limits for components of an HTTP request.

Constants

DEFAULT_MAX_HEADER_NAME_BYTES

The default header name size limit for RequestLimits and ResponseLimits.

DEFAULT_MAX_HEADER_VALUE_BYTES

The default header value size limit for RequestLimits and ResponseLimits.

DEFAULT_MAX_METHOD_BYTES

The default method size limit for RequestLimits.

DEFAULT_MAX_URL_BYTES

The default URL size limit for RequestLimits.