Open
Description
To reproduce:
- review code to observe that UDP layer will allocate RX ring buffer
- then ArduinoMDNS packet processing will malloc UDP buffer, process it, and free UDP buffer
- enable debug logging in ArduinoMDNS to observe that buffers are allocated on MDNS packets that are to/from other devices on network
- ArduinoMDNS does not efficiently only allocate buffers when packets are only for itself
- furthermore, UDP layer supports byte by byte read from ring buffer
This makes the library not performant for small memory systems.