Community
Participate
Working Groups
Build Identifier: On MacOS IPAccessHandler resolves localhost to the real network device if there's a network connection. Even if the connection is setup like this: Socket socket = new Socket("localhost", _connector.getLocalPort()); One would expect that localhost will be mapped to the loopback ip 127.0.0.1, but MacOS seems to map it to the real IP if a real network connection is established. Test is green when I disable all network connections. However changing it to: Socket socket = new Socket("127.0.0.1", _connector.getLocalPort()); fixes the issue. Reproducible: Always Steps to Reproduce: 1. Run IPAccessHandlerTest on MacOS with some wireless connection established.
Created attachment 184276 [details] fix Changed "localhost" to "127.0.0.1". Works.
patch applied r2566 thanks
thx Greg