lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9523] MDNS responder should reply after a random ti


From: Douglas
Subject: [lwip-devel] [patch #9523] MDNS responder should reply after a random timeout
Date: Wed, 3 Jan 2018 04:29:50 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #7, patch #9523 (project lwip):

> Note the patch also delays announcements with a random delay. This may not
be a bad thing, if several devices of the same type power up at the same time,
this avoids floodeding the net with announcements.

If the announcements are to be delayed too then it seems best to build the
response in future as this saves holding that resource (briefly) and gives a
chance to combine multiple triggered announcement. If a few announcements were
triggered quickly then there could be a few output packets queued with this
patch.

The proposed LWIP_MDNS_RESPONDER_QUEUE_ANNOUNCEMENTS will queue the generation
of the announcement and could add a random delay. 

Perhaps an argument could be added to mdns_send_outpacket() to flag that the
output is to be sent immediately, for the announcement path, to avoid a double
delay.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9523>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]