Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved logging of unknown http2 settings #487

Closed
wants to merge 4 commits into from
Closed

Improved logging of unknown http2 settings #487

wants to merge 4 commits into from

Conversation

HoffmannTom
Copy link

The logging of unknown http2 settings should contain the key and the value of the setting.
The key is currently converted into a setting object. Unknown keys are mapped to Integer.MAX_VALUE
Thus the log currently contains the MAX_VALUE as key and the value of the settings. The original key got lost during the conversion to the setting object.

Therefore the logging was moved to methods, which have access to the original key and the value.

thomass4t and others added 4 commits March 23, 2022 20:06
… id and value are available.

Otherwise only INTEGER.MAX_VALUE will be written as id into the logfile.
… id and value are available.

Otherwise only INTEGER.MAX_VALUE will be written as id into the logfile.
… id and value are available.

Otherwise only INTEGER.MAX_VALUE will be written as id into the logfile.
@rmaucher
Copy link
Contributor

Closing since the patch is wrong and I'm already about to commit it.

@rmaucher rmaucher closed this Mar 23, 2022
@rmaucher
Copy link
Contributor

Oh, actually, this has the key -> id change, but it should still do Integer.toString(id).

rmaucher added a commit that referenced this pull request Mar 23, 2022
Pull request by Thomas Hoffmann.
@HoffmannTom
Copy link
Author

Thank you for the quick response and help!
My second pull request in future will hopefully improve.

rmaucher added a commit that referenced this pull request Mar 23, 2022
Pull request by Thomas Hoffmann.
rmaucher added a commit that referenced this pull request Mar 23, 2022
Pull request by Thomas Hoffmann.
rmaucher added a commit that referenced this pull request Mar 23, 2022
Pull request by Thomas Hoffmann.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants