Closed mirko closed 1 year ago
Thank you for the report.
I checked the corresponding source code and do have a follow up question:
query_once
run the "protocol, service" calling query
? That seems to be the only way this can accumulate if I read the code correctly.query_once
returns duplicates. Currently in the background there is a dictionary which hashes the DNS responses coming from the wire and do only use port
and target
as the dictionary hash generation. So could you double check if the port
changes in the DNS responses?Closing this as I did not hear anything back. If you still run into the issue feel free to comment and I reopen it.
I'm calling
query_once()
every n seconds in a loop and noticed, that over time the list grows, starting containing duplicates. This happens until, in my case on esp32, the process crashes, causing a reset.