You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we can change those methods to return a java.net.SocketAddress then the
existing jnr.unixsocket.UnixSocketChannel can be used to obtain the local/remote UnixSocketAddress (which implements java.net.SocketAddress)
Hopefully these local/remote addresses can then be exposed in the HttpServletRequest local/remote address APIs.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has been a full year without activit. It will be closed if no further activity occurs. Thank you for your contributions.
@OverridepublicInetSocketAddressgetLocalAddress()
{
return_channel.getLocalAddress(); // fails, as this is just a SocketAddress, not a InetSocketAddress
}
Currently, our UnixSocketEndPoint has null's for the local/remote endpoints.
https://github.com/eclipse/jetty.project/blob/jetty-9.4.8.v20171121/jetty-unixsocket/src/main/java/org/eclipse/jetty/unixsocket/UnixSocketEndPoint.java#L46-L56
If we can change those methods to return a java.net.SocketAddress then the
existing jnr.unixsocket.UnixSocketChannel can be used to obtain the local/remote UnixSocketAddress (which implements java.net.SocketAddress)
Hopefully these local/remote addresses can then be exposed in the HttpServletRequest local/remote address APIs.
The text was updated successfully, but these errors were encountered: