Skip to content
Snippets Groups Projects
  1. Jun 05, 2007
  2. Jun 02, 2007
  3. May 30, 2007
  4. May 25, 2007
  5. Apr 16, 2007
  6. Feb 19, 2007
  7. Feb 13, 2007
  8. Nov 22, 2006
  9. Nov 06, 2006
  10. Nov 05, 2006
  11. Nov 03, 2006
  12. Oct 13, 2006
  13. Sep 11, 2006
    • Daniel Stenberg's avatar
      - Guilherme Balena Versiani: I noted a strange BUG in Win32 port · 00ae13f9
      Daniel Stenberg authored
        (ares_init.c/get_iphlpapi_dns_info() function): when I disable the network
        by hand or disconnect the network cable in Windows 2000 or Windows XP, my
        application gets 127.0.0.1 as the only name server. The problem comes from
        'GetNetworkParams' function, that returns the empty string "" as the only
        name server in that case. Moreover, the Windows implementation of
        inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
      00ae13f9
  14. Aug 29, 2006
    • Daniel Stenberg's avatar
      Brad Spencer did · 7c621cfb
      Daniel Stenberg authored
       o made ares_version.h use extern "C" for c++ compilers
       o fixed compiler warnings in ares_getnameinfo.c
       o fixed a buffer position init for TCP reads
      7c621cfb
  15. Aug 03, 2006
  16. Jul 23, 2006
  17. Jun 24, 2006
  18. Jun 19, 2006
  19. May 10, 2006
  20. May 03, 2006
  21. Jan 09, 2006
  22. Jan 06, 2006
  23. Jan 05, 2006
  24. Dec 22, 2005
  25. Nov 25, 2005
  26. Sep 18, 2005
  27. Sep 15, 2005
  28. Aug 29, 2005
  29. Aug 21, 2005
  30. Jun 19, 2005
  31. Jun 02, 2005
    • Daniel Stenberg's avatar
      William Ahern: · 5470b9aa
      Daniel Stenberg authored
        Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a
        read event can come back from poll() on a valid SOCK_DGRAM socket but
        recv(2) will still block. This patch doesn't ignore EAGAIN in
        read_udp_packets(), though maybe it should. (This patch was edited by Daniel
        Stenberg and a new configure test was added (imported from curl's configure)
        to properly detect what non-blocking socket approach to use.)
      5470b9aa
    • Daniel Stenberg's avatar
      William Ahern: · 050bd7dd
      Daniel Stenberg authored
        I'm not quite sure how this was happening, but I've been seeing PTR queries
        which seem to return empty responses. At least, they were empty when calling
        ares_expand_name() on the record. Here's a patch which guarantees to
        NUL-terminate the expanded name. The old behavior failed to NUL-terminate if
        len was 0, and this was causing strlen() to run past the end of the buffer
        after calling ares_expand_name() and getting ARES_SUCCESS as the return
        value. If q is not greater than *s then it's equal and *s is always
        allocated with at least one byte.
      050bd7dd
  32. May 16, 2005
  33. May 14, 2005
Loading