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

Fix #407 add identifiers for debug logging #417

Merged
merged 2 commits into from
Sep 20, 2021

Conversation

markt-asf
Copy link
Contributor

This is a first pass. I think it is sufficient for 6.0 but I'm expecting suggestions for improvements.

An earlier draft tried to combine container generated IDs for protocols that didn't define them and protocol defined IDs for protocols that did. That didn't work too well primarily because the h2 stream ID is not unique. Working around that quickly got messy and separating out container generated IDs and protocol IDs was the neatest solution I can find.

I'd have no objection to including remote/local address and port at this stage and maybe some additional TLS details as well.

Thoughts?

Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good first draft and I think establishing the concept of ServletConnection with all the obvious getters/IDs is the best minimal step. But a couple of things:

@gregw
Copy link
Contributor

gregw commented Sep 20, 2021

@sbordet your thoughts on quic/h3?

@markt-asf markt-asf merged commit 40906cf into jakartaee:master Sep 20, 2021
@markt-asf markt-asf deleted the issue-407 branch September 20, 2021 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants