You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #111
Replace the single `endpoint_` string in `MoQServerBase` with an
`unordered_set<string> endpoints_` so multiple paths can be served by one
server instance.
- `getEndpoint()` is replaced by `addEndpoint()` (inserts into the set)
and `isAcceptedEndpoint(path)` (checks membership).
- The constructor still accepts a single initial endpoint for backward
compatibility.
- `MoQServer` exposes `addEndpoint()` publicly, forwarding to the base.
- `Handler::onHeadersComplete` now calls `isAcceptedEndpoint()` instead of
comparing against a single string.
Reviewed By: sharmafb
Differential Revision: D95593896
fbshipit-source-id: dfaf20c77e8b00cad4dcf48d5238ae8dbeacb0dc
0 commit comments