Skip to content

Netty Http2 instrumentation - Null checks in wrapped Http2Headers implementation #2024

@jtduffy

Description

@jtduffy

It looks like in certain (still unknown) configurations, the Http2Headers implementation that we wrap in our Netty 4.1.16 module isn't overriding the methods in AbstractHttp2Headers which throw UnsupportedOperationException

Specifically: .method() , .path(), .authority() and .contains()

To mitigate, a null check needs to be added in/around this code prior to de-referencing the wrapped Http2Headers.

Internal slack thread

Metadata

Metadata

Assignees

Labels

oct-dec qtrRepresents proposed work item for the Oct-Dec quarter

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions