]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor udp_recv_cb()
authorOndřej Surý <ondrej@sury.org>
Mon, 26 Oct 2020 16:31:55 +0000 (17:31 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 30 Oct 2020 10:11:54 +0000 (11:11 +0100)
commit5fcd52209a9eeb7c6575b77c3bd4070ad9ba1c2d
tree467b505f7867caebc38995cb5472c2c0be8bb8ac
parentcdccac4993e6d2d5c67472702bb52cd3ddd56f63
Refactor udp_recv_cb()

- more logical code flow.
- propagate errors back to the caller.
- add a 'reading' flag and call the callback from failed_read_cb()
  only when it the socket was actively reading.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/udp.c