llmnr: add comment why we install no complete() handler on stream

This commit is contained in:
Lennart Poettering
2019-02-15 17:13:58 +01:00
parent 8227cfa137
commit 31f2a5e2b8
+2
View File
@@ -302,6 +302,8 @@ static int on_llmnr_stream(sd_event_source *s, int fd, uint32_t revents, void *u
}
stream->on_packet = on_llmnr_stream_packet;
/* We don't configure a "complete" handler here, we rely on the default handler than simply drops the
* reference to the stream, thus freeing it */
return 0;
}