Skip to content

Commit

Permalink
Merge pull request #184 from lizthegrey/patch-1
Browse files Browse the repository at this point in the history
do not auto-Close() Writer after ReadFrom()/Copy()
  • Loading branch information
pierrec committed May 23, 2022
2 parents c6ed913 + ec13d8c commit 885e900
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion writer.go
Expand Up @@ -234,6 +234,5 @@ func (w *Writer) ReadFrom(r io.Reader) (n int64, err error) {
data = size.Get()
}
}
err = w.Close()
return
}

0 comments on commit 885e900

Please sign in to comment.