Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
de00658c by Philipp Hörist at 2025-11-01T14:43:33+01:00
fix: Connection: Allow DNS requests for "direct" proxies

- - - - -


1 changed file:

- nbxmpp/addresses.py


Changes:

=====================================
nbxmpp/addresses.py
=====================================
@@ -243,7 +243,7 @@ class ServerAddresses(Observable):
         allowed_types: list[ConnectionType],
         allowed_protocols: list[ConnectionProtocol],
     ) -> Iterator[ServerAddress]:
-        if self._proxy is not None:
+        if self._proxy is not None and self._proxy.type != "direct":
             addresses = filter(lambda addr: addr.host is not None, addresses)
 
         addresses = filter(lambda addr: addr.type in allowed_types, addresses)



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/de00658c99909b47eff905d4ceae893f33ee5bde

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/de00658c99909b47eff905d4ceae893f33ee5bde
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to