-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KeepAliveManager
: include human-readable debug data in h2 frames (#…
…2615) Motivation: 1. `GO_AWAY` allows including a content for debugging purposes. It helps to debug closure based on frame-logging data. 2. `PING` frames always include data, using even/odd numbers help to understand originator of the frame. Modifications: - Include content when sending `GO_AWAY` frames; - Use even numbers for keep-alive `PING`s and odd numbers for graceful close `PING`s; - Test new behavior; Result: Possible to understand the cause for GO_AWAY and PING frame when frame logging is enabled.
- Loading branch information
1 parent
4e1464d
commit 8f51884
Showing
3 changed files
with
85 additions
and
39 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