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

Netty: don't expose tracing handler in handlers map #10410

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Feb 5, 2024

Resolves #10377
Handlers map is used to build handlers iterator. In https://github.com/eclipse-vertx/vert.x/blob/244b91045bb166625b2645bfdc95ede825c133a3/src/main/java/io/vertx/core/http/impl/Http1xUpgradeToH2CHandler.java#L139 vert.x iterates over handlers and removes them. As we remove our handler together with the traced handler calling pipeline.remove() for our handler fails because it was already removed.

@laurit laurit requested a review from a team February 5, 2024 15:32
@laurit laurit merged commit d823ffe into open-telemetry:main Feb 6, 2024
47 checks passed
@laurit laurit deleted the netty-handler-amp branch February 6, 2024 06:43
steverao pushed a commit to steverao/opentelemetry-java-instrumentation that referenced this pull request Feb 16, 2024
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.

Vert.x Web 4.x HTTP/2 breaks when using the opentelemetry javaagent
2 participants