-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark connection as readable and read data on connect/reconnect
Prior to this commit the CustomTCPConnectionHandler logic did not set the connection as readable and/or try to read data when a new connection or re-established connection occurred. This resulted in the behavior seen in WallarooLabs/wally#2281 as part of the 0.5.0 release of Wallaroo. This commit properly sets the connection as readable and tries to read data on a connect/reconnect. It also combines the connect and reconnect logic into a single if statement to avoid duplicating the same logic to make maintenance a bit easier.
- Loading branch information
Showing
1 changed file
with
7 additions
and
28 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