Skip to content

Commit

Permalink
fixed #25
Browse files Browse the repository at this point in the history
  • Loading branch information
IrineSistiana committed Dec 31, 2020
1 parent 5fdab3e commit 8c1d997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dispatcher/utils/io_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func getTCPWriteBuf() *bytes.Buffer {
}

func releaseTCPWriteBuf(buf *bytes.Buffer) {
buf.Reset()
tcpWriteBufPool.Put(buf)
}

Expand Down

0 comments on commit 8c1d997

Please sign in to comment.