Skip to content

Add possibility to define custom fasthttp server MaxRequestBodySize parameter to handle uploading of big files. #699

@apuzyrevsky

Description

@apuzyrevsky

In what area(s)?

/area runtime

Describe the feature

During the writing and deployment of the service which uploads files (up to 2GB), I've encountered an issue that files bigger than 4 megabytes are not uploading. I've gone on an investigation where exactly the issue lies and eventually find out that dapr using for HTTP server fasthttp library, which by default got a 4 MB limit on max body size and in dapr code it seems that default fasthttp server is defined.
So, my question is - is it possible to add the possibility of providing MaxRequestBodySize parameter of fasthttp via annotation for example. I think I can lead that effort and provide a pull request if you guys would be okay with that kind of feature.

Release Note

Add the possibility of providing MaxRequestBodySize parameter of fasthttp server via annotation to handle uploading of big files.

Metadata

Metadata

Assignees

Labels

P1kind/bugSomething isn't workingsize/XS2 days work

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions