Reset the buffer on close
This commit is contained in:
		| @@ -95,6 +95,7 @@ func (h *httpTransportClient) Recv(m *Message) error { | ||||
| } | ||||
|  | ||||
| func (h *httpTransportClient) Close() error { | ||||
| 	h.buff.Reset(nil) | ||||
| 	return h.conn.Close() | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user