Skip to content
  1. 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
  2. Jun 01, 2005
  3. May 31, 2005
  4. May 29, 2005
  5. May 27, 2005
  6. May 26, 2005
  7. May 25, 2005
  8. May 24, 2005
  9. May 22, 2005
  10. May 21, 2005
  11. May 20, 2005
  12. May 19, 2005
  13. May 18, 2005