Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use readLimitBody, i want to disable preParseMultipartForm #1653

Open
fibbery opened this issue Nov 10, 2023 · 4 comments
Open

how to use readLimitBody, i want to disable preParseMultipartForm #1653

fibbery opened this issue Nov 10, 2023 · 4 comments

Comments

@fibbery
Copy link

fibbery commented Nov 10, 2023

fasthttp/http.go

Line 1183 in 1242d8a

func (req *Request) readLimitBody(r *bufio.Reader, maxBodySize int, getOnly bool, preParseMultipartForm bool) error {

can export this function , i want to diable preParseMultipartForm

@erikdubbelboer
Copy link
Collaborator

We already have an exposed function with the same name. I would be open to a pull request to add an option for this to Request.

@fibbery
Copy link
Author

fibbery commented Nov 10, 2023 via email

@erikdubbelboer
Copy link
Collaborator

I mean, if you create a pull request for the feature, then I can merge it and release it in the version after that.

@fibbery
Copy link
Author

fibbery commented Nov 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants