]> git.ipfire.org Git - thirdparty/bind9.git/commit
The bug fix in socket.c 1.189 was less than ideal: if a socket
authorAndreas Gustafsson <source@isc.org>
Tue, 10 Apr 2001 21:38:33 +0000 (21:38 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 10 Apr 2001 21:38:33 +0000 (21:38 +0000)
commita84cfaa3f2d5f9def92e77beea184c3f7cd53ad7
treeff0e364e9fdaa62324702e79edc7bf5a4755bdc2
parent0e528248abb1e98633a6e601f375177e8a2cf557
The bug fix in socket.c 1.189 was less than ideal: if a socket
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly.  Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
lib/isc/unix/socket.c