about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-10 17:41:03 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-25 01:11:43 +0200
commit6174537c24cfe324d6e8f5a2a421883df12b8b6a (patch)
tree59fac1472c1608c97e3b1fefea6a5eb019d0f0f4 /ChangeLog
parentb38a42a098664a96842a23ef480d4b8c69ecd05c (diff)
downloadglibc-6174537c24cfe324d6e8f5a2a421883df12b8b6a.tar.gz
glibc-6174537c24cfe324d6e8f5a2a421883df12b8b6a.tar.xz
glibc-6174537c24cfe324d6e8f5a2a421883df12b8b6a.zip
resolv_test.c: also cope with CONNREFUSED errors returned by recvfrom
server_thread_udp_process_one already takes care of calling sendto()
instead of xsendto to be able to ignore the case where the client has
closed the socket.  Depending on the TCP/IP stack behavior, this error
could be notified later through recvfrom(), so we need to ignore it
there too.

* support/resolv_test.c (server_thread_udp_process_one): Call recvfrom
instead of xrecvfrom, and ignore ECONNREFUSED errors.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog2
1 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c44a53c75..84b1937ce0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,8 @@
 	(CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
 	NULL.
 	* bits/socket.h: Likewise.
+	* support/resolv_test.c (server_thread_udp_process_one): Call recvfrom
+	instead of xrecvfrom, and ignore ECONNREFUSED errors.
 
 2017-09-22  Joseph Myers  <joseph@codesourcery.com>