• Vincent Pelletier's avatar
    Always call getaddrinfo on split host. · 58058cca
    Vincent Pelletier authored
    Fixes two bugs:
    - IPv6 addresses are now put in canonical form.
    - non-IPv6 port-less addresses are resolved.
    Also, simplify url-style IPv6 parsing.
    Also, rename "ip" into more generic naming "host".
    58058cca
util.py 4.92 KB