mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 12:02:10 -05:00
In httpd.c, the send callback can directly call read callback without calling isc_nm_resumeread(). When per-send timeout was added, this could lead to use-after-free when shutting down the named. Cleanup the way how we attach to .readhandle and .sendhandle, so there's assurance that .readhandle will be always non-NULL when reading and .sendhandle will be always non-NULL when sending. Additionally, it was found that the implementation ignored the "Connection: close" header and it worked only accidentally by closing the connection after the first read from the TCP socket. This has been also fixed. |
||
|---|---|---|
| .. | ||
| bind9 | ||
| dns | ||
| irs | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| Makefile.am | ||
| unit-test-driver.sh.in | ||