Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
When using a TLS connection, the Node.js Thrift connection instance will emit a `connect` event early, making it possible to lose commands.
`connect` is emitted by the Thrift connection instance when the underlying socket is opened, instead of when the TLS handshake has completed. Making matters worse, the offline queue is flushed during this premature `connect`, which means that any commands issued prior to the TLS connection handshake will be lost.
Attachments
Issue Links
- is related to
-
THRIFT-3156 Node TLS: server executes processing logic two full times
- Closed