]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #304: dnstap logging not recovering after dnstap process restarts
authorRalph Dolmans <ralph@nlnetlabs.nl>
Mon, 21 Sep 2020 15:17:30 +0000 (17:17 +0200)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Mon, 21 Sep 2020 15:17:30 +0000 (17:17 +0200)
dnstap/dtstream.c
doc/Changelog

index a778bb64b8ddb2bd4f06a9a003c848ec23bf098e..6a9e9b8903b5848e52fd017f8d6205f8f2806cff 100644 (file)
@@ -1102,6 +1102,8 @@ static int dtio_read_accept_frame(struct dt_io_thread* dtio)
                                        goto close_connection;
                                }
                                dtio->accept_frame_received = 1;
+                               if(!dtio_add_output_event_write(dtio))
+                                       goto close_connection;
                                return 1;
                        } else {
                                /* unknow content type */
index 8a368f6cc0acdc2bb5c2bade4fa7baf5fa732534..7e6455da80154d2ef609e5ad532c297f23ac5569 100644 (file)
@@ -1,3 +1,6 @@
+21 September 2020: Ralph
+       - Fix #304: dnstap logging not recovering after dnstap process restarts
+
 21 September 2020: Wouter
        - Merge PR #311 by luismerino: Dynlibmod leak.
        - Error message is logged for dynlibmod malloc failures.