diff options
author | Yuxuan 'fishy' Wang <yuxuan.wang@reddit.com> | 2021-01-22 15:41:41 -0800 |
---|---|---|
committer | Yuxuan 'fishy' Wang <fishywang@gmail.com> | 2021-01-22 20:49:57 -0800 |
commit | 8dd04f4adfaea08699b1745c79f122bf9cbd6f07 (patch) | |
tree | 8edc3a6eb3ff75b1eab7809429ab12aa39d59c2c /CHANGES.md | |
parent | d9fcdd3dbafbe1a8296018d0d6c55d972f607a42 (diff) | |
download | thrift-8dd04f4adfaea08699b1745c79f122bf9cbd6f07.tar.gz |
THRIFT-5322: THeaderTransport protocol id fix
Client: go
This fixes a bug introduced in
https://github.com/apache/thrift/pull/2296, that we mixed the preferred
proto id and the detected proto id, which was a bad idea.
This change separates them, so when we propagate TConfiguration, we only
change the preferred one, which will only be used for new connections,
and leave the detected one from existing connections untouched.
Also add a test for it.
Diffstat (limited to 'CHANGES.md')
0 files changed, 0 insertions, 0 deletions