Skip to content

ServerHttpRequest.getSslInfo() always returns null for reactor-netty HTTP/2 requests #25278

@dvoloshyn

Description

@dvoloshyn

Affects: 5.2.7.RELEASE


ReactorServerHttpRequest.initSslInfo() works only for HTTP1.1 requests
because the code looks for SslHandler in the channel().pipeline().

For HTTP/2 request SslHandler is locate in the channel().parent().pipeline()
Example how to access: Http2StreamBridgeHandler.channelRead() (reactor-netty)

Or, maybe, you have some other elegant solution?

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions