Skip to content

Commit

Permalink
fix: broken multipart processor on windows (#1137)
Browse files Browse the repository at this point in the history
fix: broken mutlipart processor on windows
  • Loading branch information
jabdr authored Aug 26, 2024
1 parent a280f49 commit 4ace372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/bodyprocessors/multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func (mbp *multipartBodyProcessor) ProcessRequest(reader io.Reader, v plugintype
v.MultipartStrictError().(*collections.Single).Set("1")
return err
}
defer temp.Close()
sz, err := io.Copy(temp, p)
if err != nil {
v.MultipartStrictError().(*collections.Single).Set("1")
Expand Down

0 comments on commit 4ace372

Please sign in to comment.