[Top][All Lists]

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

[lwip-devel] [bug #52770] mdns: move the announcements to a timer callba

From: Douglas
Subject: [lwip-devel] [bug #52770] mdns: move the announcements to a timer callback
Date: Tue, 2 Jan 2018 04:46:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #12, bug #52770 (project lwip):

> What I meant was the administative "up" of a network - before calling
"netif_set_up()", not before the link is up or an IP was assigned.

There can still be changes that affect the mdns state and would trigger an
announcement. e.g. The ipv4 address being obtained via dhcp etc. It does not
appear to be practical to expect the mdns state to be statically set so

If it was just a matter of not allowing mdns services to be added once the
network is 'up', then that could have been addressed by the original
suggestion of not triggering the announcement when adding a service.
Unfortunately that was not the only path that triggers an announcement.

Sometimes different threads configure different parts of lwip. The netif might
be created in some startup core library (for the esp-open-rtos in a SDK
library), and an application layer thread might setup mdns where is installs
the TXT callback. So this use case pattern would also not fit with having mdns
configured so early.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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