forked from aws/amazon-ecs-agent
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACS: Handle heartbeats vs idle correctly
Previously a heartbeat message was required to consider the channel active. In realitiy, heartbeat messages were only sent when the channel was inactive and no other messages were being sent. This avoids treating a lack of heartbeats as an idle channel and closing it unless there are also no other messages. In addition, this tweaks how backoffs are handled (time, resets, etc) a bit to be more forgiving to these sorts of issues (where the connection is lost, but can be re-established). Relates to aws#103
- Loading branch information
Showing
7 changed files
with
188 additions
and
22 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
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