Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] jetty11 Connection.Listener#onClosed does not provide remote IP

Hi there,
when upgrading from 9 to 11, we noted that connection.getEndPoint().getRemoteSocketAddress() returns null when ConnectionListener#onClosed is invoked.

This was different in jetty 9. One could retrieve the remote ip via endPoint.getRemoteAddress(). We used the ip to track certain attributes regarding connections. Is there any way to get the ip or do we somehow need to build our own mapping from Connection to ip?

Best,
Matthias


Back to the top