diff options
author | Yuxuan 'fishy' Wang <yuxuan.wang@reddit.com> | 2020-06-27 10:13:34 -0700 |
---|---|---|
committer | Yuxuan 'fishy' Wang <fishywang@gmail.com> | 2020-07-01 11:50:44 -0700 |
commit | 4db7a0af13ac9614e3e9758d42b2791040f4dc7e (patch) | |
tree | 6ea8c8eafb05706125445cb2865540dc1dc84b87 /CHANGES.md | |
parent | 5dc1d268f5c63b804d0b185943467cfeb47859d5 (diff) | |
download | thrift-4db7a0af13ac9614e3e9758d42b2791040f4dc7e.tar.gz |
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.
Diffstat (limited to 'CHANGES.md')
-rw-r--r-- | CHANGES.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index b6c202184..be0286a35 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -27,6 +27,7 @@ - [THRIFT-5164](https://issues.apache.org/jira/browse/THRIFT-5164) - Add ClientMiddleware function type and WrapClient function to support wrapping a TClient with middleware functions. - [THRIFT-5164](https://issues.apache.org/jira/browse/THRIFT-5164) - Add ProcessorMiddleware function type and WrapProcessor function to support wrapping a TProcessor with middleware functions. - [THRIFT-5233](https://issues.apache.org/jira/browse/THRIFT-5233) - Add context deadline check to ReadMessageBegin in TBinaryProtocol, TCompactProtocol, and THeaderProtocol. +- [THRIFT-5240](https://issues.apache.org/jira/browse/THRIFT-5240) - The context passed into server handler implementations will be canceled when we detected that the client closed the connection. ## 0.13.0 |