Accept file payloads for pipe send
This commit is contained in:
parent
78dbbf240b
commit
55cb455de3
5 changed files with 34 additions and 11 deletions
|
|
@ -208,7 +208,7 @@ daemon-lifetime runtime. `geth pipe connect <name> --node <node-id>` sends an
|
|||
authorized remote connect request over the protected Iroh control ALPN. The
|
||||
remote daemon validates endpoint/card binding and requires `pipe.connect` on
|
||||
`resource:pipe:<name>` before recording the connection attempt and reporting
|
||||
whether a listener exists. `geth pipe send <name> <message> --node <node-id>`
|
||||
whether a listener exists. `geth pipe send <name> [message|--in <path>|--in -] --node <node-id>`
|
||||
uses the dedicated `/geth/pipe/1` ALPN to write a byte message to a peer
|
||||
listener after the same endpoint/card and capability checks. `geth pipe recv
|
||||
<name>` drains local daemon-lifetime messages. `geth pipe listen <name> --node
|
||||
|
|
|
|||
|
|
@ -364,8 +364,8 @@ Goal: add authorized stream-oriented management workflows over Iroh.
|
|||
- `[x]` Remote pipe listen requires `pipe.listen` on
|
||||
`resource:pipe:<name>`.
|
||||
- `[x]` Tests cover denied and allowed remote listener registration.
|
||||
- `[x]` `geth pipe send <name> <message> --node <node-id>` carries a byte
|
||||
message over the dedicated `/geth/pipe/1` Iroh ALPN.
|
||||
- `[x]` `geth pipe send <name> [message|--in <path>|--in -] --node <node-id>`
|
||||
carries a byte message over the dedicated `/geth/pipe/1` Iroh ALPN.
|
||||
- `[x]` `geth pipe recv <name>` drains daemon-lifetime pipe messages.
|
||||
- `[x]` Remote pipe send requires `pipe.connect` on
|
||||
`resource:pipe:<name>`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue