mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-04 11:37:04 +08:00
Update response_writer.go
This commit is contained in:
parent
9555743a47
commit
83be301525
@ -122,6 +122,6 @@ func (w *responseWriter) ReadFrom(r io.Reader) (n int64, err error) {
|
||||
w.size = 0
|
||||
}
|
||||
n, err = w.ResponseWriter.(io.ReaderFrom).ReadFrom(r)
|
||||
w.size += n
|
||||
w.size += int(n)
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user