diff options
author | Lance Stout <lancestout@gmail.com> | 2012-06-20 22:21:34 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-06-20 22:21:34 -0700 |
commit | 2a78570d6551cb5f85fb79083d9bdddf7f86b3d6 (patch) | |
tree | 3fe87ad3a6526ee0a406565d3391bb5a7091ec4e /sleekxmpp/xmlstream | |
parent | 7a112f25237fcae3a99d327f56d4e01a94fd6e86 (diff) | |
download | slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.tar.gz slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.tar.bz2 slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.tar.xz slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.zip |
Fix setting IPv6 default configuration option.
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index a1b6ccd6..321e2694 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -212,6 +212,9 @@ class XMLStream(object): #: proxy based on the settings in :attr:`proxy_config`. self.use_proxy = False + #: If set to ``True``, attempt to use IPv6. + self.use_ipv6 = True + #: An optional dictionary of proxy settings. It may provide: #: :host: The host offering proxy services. #: :port: The port for the proxy service. |