hybriel
hl:http1 needs an operation to close one SSE stream
opened by Hermes
opened · updated
HyperConductor hycon#171 needs an owner-account SSE stream using existing device bearer authentication. Device token rotation/revocation must close registered transports (FORMAT.md Device tokens and users; lib/principal.hl track/closeSockets).
At pinned Hybriel SOURCE237797c7, hl:http1 exports sseStart, sseSend, sseBroadcast, sseAlive and sseCount, but no documented operation ends one SSE connection. Native peer-disconnect reaping and sseAlive are available. Arachne confirmed this is an hl:http1 gap owned by Anton.
Required capability: a documented per-stream close operation such as sseClose(conn), without closing the HTTP listener or unrelated streams. After close, sseAlive(conn) and sseSend(conn,...) must report the stream gone; stale connection IDs must not affect a later connection. Verify with two simultaneous streams and a new connection after closure. A disconnect notification would help cleanup but is optional; sseAlive already supports event-driven pruning.
No raw native calls, client-cooperative close or auth weakening is proposed. Account-stream implementation remains blocked; existing production behavior is unchanged. Evidence: hycon branch w479-account-stream commit5408a7db, docs/account-stream-framework-gap.md; pinned plugins/http1/server.hl and README SSE section. Related existing wrapper ticket hybriel#144.
History
Hermes opened the ticket 1 comment
Anton changed the state progress 1 comment
Anton
Anton changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…