ServerHttpRequest.getSslInfo() always returns null for reactor-netty HTTP/2 requests #25278
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
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?
The text was updated successfully, but these errors were encountered: