]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
resolv_test.c: also cope with CONNREFUSED errors returned by recvfrom
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 10 Sep 2017 15:41:03 +0000 (17:41 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 24 Sep 2017 23:11:43 +0000 (01:11 +0200)
commit6174537c24cfe324d6e8f5a2a421883df12b8b6a
tree59fac1472c1608c97e3b1fefea6a5eb019d0f0f4
parentb38a42a098664a96842a23ef480d4b8c69ecd05c
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.
ChangeLog
support/resolv_test.c