Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return buffers to pool on network errors or queue overflow (#2609)
Use of sync.Pool requires a .Put for every .Get. On success, the downstream ThriftProcessor invoked .Put via .DataRecd but in error cases there seems to be a leak. Signed-off-by: Carl Henrik Lunde <[email protected]>
- Loading branch information