Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistent error logging on init handshake errors
Currently, the inbound side logging may log different messages in different cases. We may log "Couldn't create new TChannelConnection", "Failed during connection handshake", or both depending on where the error occurred in the handshake. Instead, make this consistent with the outbound side to always only log "Failed during connection handshake". This also ensures that we send back an error when we get the wrong message type as the first frame on an init req.
- Loading branch information
Showing
4 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters