Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: Fix connection leak when receiving ECONNRESET
The ttrpc server somtimes receives `ECONNRESET` rather than `EOF` when the client is exited. Such as reading from a closed connection. Handle it properly to avoid goroutine and connection leak. Change-Id: If32711cfc1347dd2da27ca846dd13c3f5af351bb Signed-off-by: liyuxuan.darfux <liyuxuan.darfux@bytedance.com> (cherry picked from commit a03aa04) Signed-off-by: Derek McGowan <derek@mcg.dev>
- Loading branch information