Skip to content

tcp-netty-internal: Make sure context information is available to ConnectionObserver #3257

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bryce-anderson
Copy link
Contributor

Motivation:

We sometimes make new connections as part of the request path
and that means it's important to make sure the context information
is available for the observers so we can instrument them.

Modifications:

Capture the context present when the connection is created. We
then make sure it's there for the right methods in the
ConnectionObserver. Note that the ConnectionObserver has
a lifecycle that lives beyond a request, and thus a single context,
so we drop that context information after the initial connection
establishment (or failure).

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.

1 participant