From 0f4664d27f67c7f0597b08acd59433d6cf1a40c2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 22 Sep 2007 21:23:10 +0000 Subject: Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that if it fails and the socket is closed the following code doesn't try to use the file descriptor. --- ares/CHANGES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ares/CHANGES') diff --git a/ares/CHANGES b/ares/CHANGES index 4f28e3b4c..a21f1cb3f 100644 --- a/ares/CHANGES +++ b/ares/CHANGES @@ -2,6 +2,11 @@ * September 22 2007 (Daniel Stenberg) +- Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in + several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that + if it fails and the socket is closed the following code doesn't try to use + the file descriptor. + - Steinar H. Gunderson modified c-ares to now also do to DNS retries even when TCP is used since there are several edge cases where it still makes sense. -- cgit v1.2.3