]> git.ipfire.org Git - thirdparty/bind9.git/commit
Handle canceled read during sending data over stats channel
authorOndřej Surý <ondrej@isc.org>
Thu, 8 Sep 2022 16:24:57 +0000 (18:24 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 15 Sep 2022 08:58:09 +0000 (10:58 +0200)
commit2adaa53619bbc3ad9732e788f2a674ba99060217
tree293cd16d24ae08ad27ad544a84cc39a4a6d42c38
parent5e51ccf9b6a2f4148838ba8a19f66a21117bf385
Handle canceled read during sending data over stats channel

An assertion failure would be triggered when the TCP connection
is canceled during sending the data back to the client.

Don't require the state to be `RECV` on non successful read to
gracefully handle canceled TCP connection during the SEND state of the
HTTPD channel.

(cherry picked from commit 6562227cc8a0732002c01cfc045129bf6080b94c)
lib/isc/httpd.c