]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: ensure HTTP headers are freed on ignored queries
authorTomas Krizek <tomas.krizek@nic.cz>
Fri, 2 Jul 2021 08:48:32 +0000 (10:48 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 21 Jul 2021 09:22:29 +0000 (11:22 +0200)
commit438c804b32cbf94b897d989bc737fbff9c09a472
treeb80cde6c1c669f28c3bcec3434b2428da107c003
parentb26b48e84c01935ca41d0827923c2b593aae2605
daemon/worker: ensure HTTP headers are freed on ignored queries

Ignored queries never call create_request() where ownership of headers
is taken care of. They need to be explicitly cleared instead, because
we're the owners of the pointer here.
daemon/http.c
daemon/http.h
daemon/worker.c