Summary: mDNS: probe rate limiting if more then 15 conflicts
occur in a 10 second period
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: jasperv
Submitted on: Mon 19 Nov 2018 11:40:25 AM CET
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Planned Release: None
According to RFC6762 section 8.1: If fifteen conflicts occur within any
ten-second period, then the host MUST wait at least five seconds before each
successive additional probe attempt.
By keeping a list of timestamps of conflicts we can easily check if 15
conflicts occurred in a 10 second time window without the need of timers.
When it does, we will change the probe wait time on restart from 0-250ms to 5