1. 20 Sep, 2012 2 commits
    • Denis Bilenko's avatar
      resolver_ares: fallback to threadpool · 214aa5d4
      Denis Bilenko authored
      For non-network requests, like "localhost", it seems to be quite hard
      to make gevent.ares to do the right (=compatible with stdlib) thing.
      
      So we check if host does not have '.' and if that's the case,
      we fallback to using threadpool.
      
      This covers requests like "localhost", "ip6-localhost" and Python-specific
      things, like "<broadcast>"
      
      It's possible to disable this by passing use_threadpool=False to ResolverAres
      or by settings resolver.pool = None.
      214aa5d4
    • Denis Bilenko's avatar
      resolver_ares: improve getaddrinfo · b4033342
      Denis Bilenko authored
      For string ports (e.g. "http") resolver_ares/getaddrinfo previously only
      consulted getservbyname(port, "tcp") or getservbyname(port, "udp"), but never both.
      
      It seems that checking of both work (and creating result based on that) makes for
      better compatibility with stock getaddrinfo, at least on linux.
      b4033342
  2. 14 Sep, 2012 12 commits
  3. 11 Sep, 2012 3 commits
  4. 08 Sep, 2012 1 commit
  5. 07 Sep, 2012 3 commits
  6. 06 Sep, 2012 1 commit
  7. 05 Sep, 2012 2 commits
  8. 31 Aug, 2012 8 commits
  9. 30 Aug, 2012 2 commits
  10. 29 Aug, 2012 6 commits