Smack/smack-extensions/src/test/java/org/jivesoftware/smackx/bytestreams/socks5
Martin Fidczuk ffd027cc7d
Use XMPP connection as local SOCKS5 address
The default local address is often just "the first address found in the list of addresses read from the OS" and this might mean an internal IP address that cannot reach external servers. So wherever possible use the same IP address being used to connect to the XMPP server because this local address has a better chance of being suitable.

This MR adds the above behaviour, and two UTs to test that we use the local XMPP connection IP when connected, and the previous behaviour when not.
2023-04-26 10:00:23 +01:00
..
InitiationListenerTest.java Introduce test fixtures 2020-04-11 22:05:36 +02:00
Socks5ByteStreamManagerTest.java Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
Socks5ByteStreamRequestTest.java Introduce test fixtures 2020-04-11 22:05:36 +02:00
Socks5ClientForInitiatorTest.java [core] Fix ErrorIQ not showing potential original IQ child 2023-03-17 18:03:57 +01:00
Socks5ClientTest.java Introduce test fixtures 2020-04-11 22:05:36 +02:00
Socks5PacketUtils.java Apply builder pattern to DiscoverInfo 2019-10-29 11:14:55 +01:00
Socks5ProxyTest.java [checkstyle] Tighten JavadocMethod checkstyle rule 2020-05-23 22:43:29 +02:00
Socks5TestProxy.java Introduce test fixtures 2020-04-11 22:05:36 +02:00