]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: cleanup ioreq recycling, correct checking of ioreq validity
authorMarek Vavruša <marek.vavrusa@nic.cz>
Fri, 17 Jul 2015 14:57:07 +0000 (16:57 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Fri, 17 Jul 2015 14:57:32 +0000 (16:57 +0200)
commitc8d8208bad89f5e3cc94a5e116b3c8b95212b07f
tree9842abd2e586366cba36eb8b4c79d87359cabeee
parent931d736540012dd8a770650434b3d901434930e3
daemon/worker: cleanup ioreq recycling, correct checking of ioreq validity

before only current I/O handle was tracked for each subrequest, but the
requests may have outlived it (connect request isn't cancelable for
example), if such request terminated after the request was finished,
it checked the address of potentially stale task
daemon/worker.c