-
Notifications
You must be signed in to change notification settings - Fork 113
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
Out of memory error when handling malformed http.Request Body #38
Comments
The error doesn't occur in both of the following cases:
|
Can you provide a use-case that I can use to
replicate the error? You can zip it up and send it directly to my
email: [email protected].
|
Merged
@clbanning What do you mean by "use-case"? Just a single file will do with the provided content. Here's the file. I've traced the error to the custom |
clbanning
added a commit
that referenced
this issue
Feb 13, 2017
buger
pushed a commit
to TykTechnologies/tyk
that referenced
this issue
Sep 29, 2017
This was a crash in the mxj library concerning invalid input from a reader, as it would not properly error and stop. We did not hit this before in 2.3.x as we used a []byte, not an io.Reader. The upstream issue is clbanning/mxj#38, fixed back in February. Add a regression test and bump the vendored version. Fixes #1122.
clbanning
added a commit
that referenced
this issue
Aug 2, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following minimal example:
Running it (
go run main.go
) givesfatal error: runtime: out of memory
after some seconds of freezing.Full output:
Go version:
go version go1.7.1 linux/amd64
The text was updated successfully, but these errors were encountered: