Open bzbarsky-apple opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Problem
On LwIP systems, freeing a UDP endpoint is an async process.
Every time we start the mdns server, it frees all its existing endpoints and starts listening again. We probably do need to do this, in case our set of live interfaces changed....
But this means that we synchronously start using more endpoints, but free the existing ones async. Several calls in a row to
StartServer
can chew up all our available endpoints.Proposed Solution
Or some combination thereof....
@andy31415 @sagar-apple @msandstedt @tcarmelveilleux