William Ahern:
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Jun 2005 11:58:04 +0000 (11:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Jun 2005 11:58:04 +0000 (11:58 +0000)
commit5470b9aa73d4cb26f08763cd0165d68623f104cb
treef1e6dd61e854bb88128b4d707bcb32c7e43b41ac
parent050bd7dd0bb089f24325db241a942d1a39559b5d
William Ahern:

  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.)
ares/CHANGES
ares/acinclude.m4
ares/ares_process.c
ares/configure.ac