Skip to:
Improvements when establishing a Socks5 bytestream:
checks if target supports Socks5 feature (http://xmpp.org/extensions/xep-0065.html#proto-disco)
while searching for Socks5 proxies all non Socks5 proxies are blacklisted to not query them again in next negotiation
prioritizes last working stream host (if exists) under the assumption that it will also work best for further requests
configurable timeout for the response of target to the request (was a constant in old implementation)
uses specialized Socks5ClientForInitiator to connect to local or remote proxy and activate the stream
returns Socket for bidirectional use
test for establishing Socks5 bytestreams
handels all cases mentioned in the XEP-0065 (http://xmpp.org/extensions/xep-0065.html#usecase)
test for Socks5ClientForInitiator
done in revision 11821
Improvements when establishing a Socks5 bytestream:
checks if target supports Socks5 feature (http://xmpp.org/extensions/xep-0065.html#proto-disco)
while searching for Socks5 proxies all non Socks5 proxies are blacklisted to not query them again in next negotiation
prioritizes last working stream host (if exists) under the assumption that it will also work best for further requests
configurable timeout for the response of target to the request (was a constant in old implementation)
uses specialized Socks5ClientForInitiator to connect to local or remote proxy and activate the stream
returns Socket for bidirectional use
test for establishing Socks5 bytestreams
handels all cases mentioned in the XEP-0065 (http://xmpp.org/extensions/xep-0065.html#usecase)
test for Socks5ClientForInitiator