| commit | 4db7a0af13ac9614e3e9758d42b2791040f4dc7e | [log] [tgz] |
|---|---|---|
| author | Yuxuan 'fishy' Wang <yuxuan.wang@reddit.com> | Sat Jun 27 10:13:34 2020 -0700 |
| committer | Yuxuan 'fishy' Wang <fishywang@gmail.com> | Wed Jul 01 11:50:44 2020 -0700 |
| tree | 6ea8c8eafb05706125445cb2865540dc1dc84b87 | |
| parent | 5dc1d268f5c63b804d0b185943467cfeb47859d5 [diff] |
THRIFT-5240: Do connectivity check in Go server Client: go In compiler generated TProcessorFunction implementations, add a goroutine after read the request to do connectivity check on the input transport. If the transport is no longer open, cancel the context object passed into the handler implementation. Also define ErrAbandonRequest error, to help TSimpleServer closing client connections that's already closed on the other end.