You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does not handle the thrift EXCEPTION message type which says that __can__finagle__trace__v3__ does not exist, and treats the connection as upgraded even though it shouldn't be.
ttwitter upgrades should be done on a per-connection basis. This filter, however, belongs to the TcpConnection not the underlying connections from the connection pool, so it's very possible that the upgrade request could go to one server and the subsequent ttwitter-prefixed messages could go to other connections that haven't been officially upgraded. In principle, a thrift server with a strong internal state machine could refuse to accept ttwitter-prefixed messages if it hasn't gotten an upgrade request.
The text was updated successfully, but these errors were encountered:
thrift-client-ttwitter-filter appears to incorrectly handle servers that don't support ttwitter (such as the apache node-thrift implementation).
thrift-server/packages/thrift-client-ttwitter-filter/src/main/ThriftClientTTwitterFilter.ts
Line 263 in c8e9244
EXCEPTION
message type which says that__can__finagle__trace__v3__
does not exist, and treats the connection as upgraded even though it shouldn't be.ttwitter upgrades should be done on a per-connection basis. This filter, however, belongs to the TcpConnection not the underlying connections from the connection pool, so it's very possible that the upgrade request could go to one server and the subsequent ttwitter-prefixed messages could go to other connections that haven't been officially upgraded. In principle, a thrift server with a strong internal state machine could refuse to accept ttwitter-prefixed messages if it hasn't gotten an upgrade request.
The text was updated successfully, but these errors were encountered: