netty / netty-incubator-codec-quic

Apache License 2.0
303 stars 72 forks source link

How to obtain remote IP addresses for QUIC? #662

Closed heixiaoma closed 9 months ago

heixiaoma commented 9 months ago

handler->channelActive QuicConnectionAddress{connId=0670c605321a6bb6204ce71fd0ee7c789ebc7d88}

streamHandler->channelActive QuicStreamAddress{streamId=0}

QuicConnectionAddress and QuicStreamAddress inherit SocketAddress, but they do not have IP address related information

heixiaoma commented 9 months ago

image

Why is the class io.netty.incubator.codec.quic.QuicheQuicChannel designed as final?

Currently, remote values can be obtained through reflection

normanmaurer commented 9 months ago

@heixiaoma check https://github.com/netty/netty-incubator-codec-quic/pull/677