diff options
author | Tobias Markmann <tm@ayena.de> | 2015-01-09 16:39:11 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2015-02-11 09:35:21 (GMT) |
commit | 779f0d57bc9d90300aad0b1386dc937612ac35f4 (patch) | |
tree | 2b7beb4db6af92eef45a6adaf0118d3ba149056b /Swiften/Elements | |
parent | 66567c962202920b0d6bc06029ed37565cd4a81c (diff) | |
download | swift-779f0d57bc9d90300aad0b1386dc937612ac35f4.zip swift-779f0d57bc9d90300aad0b1386dc937612ac35f4.tar.bz2 |
Support domain names in S5B proxy <streamhost> tags.
S5BProxyManager now resolves DNS names of proxy entries discovered via
service discovery.
Test-Information:
Tested against a XMPP installation that uses domain names in proxy entires.
Change-Id: I728243333ec6e62e86f088f2a7b6e222c629757b
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/S5BProxyRequest.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Swiften/Elements/S5BProxyRequest.h b/Swiften/Elements/S5BProxyRequest.h index fcd0cb2..b7541fc 100644 --- a/Swiften/Elements/S5BProxyRequest.h +++ b/Swiften/Elements/S5BProxyRequest.h @@ -4,6 +4,12 @@ * See Documentation/Licenses/BSD-simplified.txt for more information. */ +/* + * Copyright (c) 2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ + #pragma once #include <string> @@ -22,7 +28,8 @@ public: public: struct StreamHost { - HostAddressPort addressPort; + std::string host; + int port; JID jid; }; |