server: also match /event path in read handler

This commit is contained in:
Levi Neely 2026-10-06 13:51:25 +02:00
parent 5077dfea8e
commit a4378c1be4
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ func read(root *fs.Tree, cs *connState, fc *plan9.Fcall, ctx context.Context) *p
if entry.StreamMode() {
// Special handling for event file — always use per-fid subscription
if path == "event" {
if path == "event" || path == "/event" {
cs.mu.RLock()
f, fidOK := cs.fids[fc.Fid]
// Use 9P connection context (not request context) so subscription