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
net/http: ResponseController panic #58237
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Comments
this line cause panic, add If st.Body == nil maybe a choice to fix this. but I am not very sure. |
cc @neild |
AlexanderYastrebov
added a commit
to AlexanderYastrebov/net
that referenced
this issue
Feb 2, 2023
Change https://go.dev/cl/464936 mentions this issue: |
AlexanderYastrebov
added a commit
to AlexanderYastrebov/go
that referenced
this issue
Feb 2, 2023
…line test Requires CL 464936 For golang#58237
AlexanderYastrebov
added a commit
to AlexanderYastrebov/net
that referenced
this issue
Feb 2, 2023
Check stream body is not nil in the handler to cover all callsites For golang/go#58237
Change https://go.dev/cl/465035 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run the program; https://go.dev/play/p/Alu2e-LdzqX?v=gotip
and then use curl to access it
curl -vkL https://127.0.0.1:56782/
What did you expect to see?
No panic, possibly an error
What did you see instead?
The text was updated successfully, but these errors were encountered: