remove body close
This commit is contained in:
parent
9020415e74
commit
46e0ad988b
@ -156,7 +156,6 @@ func (s *Service) FileCreateChunk(c *gin.Context) {
|
|||||||
|
|
||||||
b := bytes.NewBuffer([]byte{})
|
b := bytes.NewBuffer([]byte{})
|
||||||
io.Copy(b, c.Request.Body)
|
io.Copy(b, c.Request.Body)
|
||||||
c.Request.Body.Close()
|
|
||||||
|
|
||||||
sess := s.CurrentSession(c)
|
sess := s.CurrentSession(c)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user