Skip to content

max request size limitation without buffer #36946

Open
@wbpcode

Description

@wbpcode

Title: One line description

Now, all the the exist way to limit the max request body in the Envoy need to buffer the request body. But I won't whether make sense to add a featue to limit the request body without buffer body.

The request body will be proxied to upstream. But if the limitation is reached then the 413 will be returned and whole connection will be closed directly.

From the clients' view, the Envoy responded a 413, from the servers' view, Envoy cancelled the requests by close connection. This could limit the max request body size and need keep the body in the memory buffer.

🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions