diff options
author | Yuxuan 'fishy' Wang <yuxuan.wang@reddit.com> | 2021-01-22 09:37:18 -0800 |
---|---|---|
committer | Yuxuan 'fishy' Wang <fishywang@gmail.com> | 2021-01-22 20:50:27 -0800 |
commit | c2ddaf0766499ab522cb7c0ca011d579707fcb5f (patch) | |
tree | c05776669d220308884aa1fde25980035de056ad /CHANGES.md | |
parent | 8dd04f4adfaea08699b1745c79f122bf9cbd6f07 (diff) | |
download | thrift-c2ddaf0766499ab522cb7c0ca011d579707fcb5f.tar.gz |
THRIFT-4914: Make TClient.Call to return the response meta
Client: go
Make a breaking change so that TClient.Call returns the response
meta, currently only contains headers but could be expanded in the
future, and make a compiler change to compiler generated clients to take
advantage of that and provide access to response metadata to users.
Diffstat (limited to 'CHANGES.md')
-rw-r--r-- | CHANGES.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index 8e4d08edd..c6c08f29f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,7 @@ - [THRIFT-5152](https://issues.apache.org/jira/browse/THRIFT-5152) - go: TSocket and TSSLSocket now have separated connect timeout and socket timeout - c++: dropped support for Windows XP - [THRIFT-5326](https://issues.apache.org/jira/browse/THRIFT-5326) - go: TException interface now has a new function: TExceptionType +- [THRIFT-4914](https://issues.apache.org/jira/browse/THRIFT-4914) - go: TClient.Call now returns ResponseMeta in addition to error ### Java @@ -31,6 +32,7 @@ - [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. - [THRIFT-5322](https://issues.apache.org/jira/browse/THRIFT-5322) - Add support to TConfiguration, and also fix a bug that could cause excessive memory usage when reading malformed messages from TCompactProtocol. +- [THRIFT-4914](https://issues.apache.org/jira/browse/THRIFT-4914) - Compiler generated service clients now provide a new function, LastResponseMeta_(), to get the response metadata (e.g. headers from THeader) from the last client call. ## 0.13.0 |