refactor: centralize peer control routing
This commit is contained in:
parent
d443b82f1a
commit
a32cab645f
4 changed files with 218 additions and 126 deletions
|
|
@ -52,13 +52,13 @@ behavior.
|
|||
- `[x]` Each command family has a small handler module or function group.
|
||||
- `[x]` Local-only behavior remains covered by existing integration tests.
|
||||
|
||||
- `[~]` Extract protected peer-control routing.
|
||||
- `[x]` Extract protected peer-control routing.
|
||||
Acceptance criteria:
|
||||
- `[x]` Shared bounded Iroh line-read and send-finish helpers live outside
|
||||
the main feature handler module.
|
||||
- `[x]` Outbound peer-control, pipe-wire, and overlay-wire request helpers
|
||||
live outside the main feature handler module.
|
||||
- `[~]` Iroh control ALPN handling, nonce checks, peer-card validation, and
|
||||
- `[x]` Iroh control ALPN handling, nonce checks, peer-card validation, and
|
||||
endpoint-binding validation are centralized.
|
||||
- `[x]` Feature handlers receive authenticated caller context rather than
|
||||
repeating peer-card boilerplate.
|
||||
|
|
|
|||
Loading…
Reference in a new issue