Discover LAN servers and relay authenticated browser peer connections
This commit is contained in:
+10
@@ -1265,3 +1265,13 @@ has a 20-second context, bounded Git output/time and file traversal, and at most
|
||||
100 deletion candidates. Partial scans cannot claim that the storage target has
|
||||
been reached. Cleanup refusals and limits remain visible rather than discarding
|
||||
protected data to satisfy a quota.
|
||||
|
||||
|
||||
### LAN server discovery
|
||||
|
||||
`{"type":"discover_servers"}` returns `discovered_servers` with a
|
||||
`discovered_servers` array of `{name,endpoint,auth,version}` records. The server
|
||||
browses `_pipelines._tcp.local` on its own LAN, with a bounded DNS-SD query; it
|
||||
does not scan arbitrary ports. An unavailable browse returns a protocol error.
|
||||
The authenticated web front door exposes the same result at `GET /api/discovery`,
|
||||
including before the browser has opened its application websocket.
|
||||
|
||||
Reference in New Issue
Block a user