-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
You call io.Pipe() at
requestBodyR, requestBodyW := io.Pipe() |
then you lose it at
if err != nil { |
(When error happens at http.NewRequestWithContext you don't close requestBodyW and responseBodyW)
io.Pipe docs
https://pkg.go.dev/io#Pipe
Metadata
Metadata
Assignees
Labels
No labels