Skip to content

Commit

Permalink
Minimal mdns: move responders into allocator class. (#7528)
Browse files Browse the repository at this point in the history
* Minimal mdns: move responders into allocator class.

The code is basically the same, but moved into a subclass. This
is done for 2 reasons:
1) Makes the allocator class more testable (tests added)
2) Right now the commissionable and operational records are mixed
   in a single query responder. This is not ideal and we need to
   separate these into different query responders in a single
   ResponseSender. This will let us allocate a query responder for
   each record easily and separate all the record and qname
   allocations so they can easily be cleared. (upcoming PR)

* Restyled by gn

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 29, 2021
1 parent 5524144 commit 1128312
Show file tree
Hide file tree
Showing 4 changed files with 486 additions and 162 deletions.
Loading

0 comments on commit 1128312

Please sign in to comment.