]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix an abort in DoH (client-side) when writing on closing sock
authorArtem Boldariev <artem@boldariev.com>
Tue, 10 May 2022 16:46:12 +0000 (19:46 +0300)
committerArtem Boldariev <artem@boldariev.com>
Fri, 20 May 2022 17:18:40 +0000 (20:18 +0300)
commit9abb00bb5f66c1d365fb0e69bc96fa2e49bd37cf
tree573c1526b8a9f3273e3393314c6a1cefd5c4c2b2
parent245f7cec2ea9005a360478959e4a446c666eab75
Fix an abort in DoH (client-side) when writing on closing sock

The commit fixes a corner case in client-side DoH code, when a write
attempt is done on a closing socket (session).

The change ensures that the write call-back will be called with a
proper error code (see failed_send_cb() call in client_httpsend()).
lib/isc/netmgr/http.c