mirror of https://github.com/sonertari/SSLproxy
Only init DNS when DNS is required by proxy specs
Only initialize evdns if DNS lookups are actually required by the loaded proxy specifications. This allows sslsplit to work in non-DNS modes in situations where the local DNS resolver does not work, such as for local use on a system without network connectivity. Currently, only SNI based proxy specs require DNS. On systems without network connectivity, DNS subsystem init may fail due to /etc/resolv.conf being (temporarily) unavailable. Issue: #104pull/13/head
parent
0d38bca4e0
commit
0e2b748bba
Loading…
Reference in New Issue