diff --git a/cmd/olliesrv/server.go b/cmd/olliesrv/server.go index d5183f9..4a55dec 100644 --- a/cmd/olliesrv/server.go +++ b/cmd/olliesrv/server.go @@ -500,6 +500,10 @@ func read(root *fs.Tree, cs *connState, fc *plan9.Fcall, ctx context.Context) *p if err != nil { return errFcall(fc, err.Error()) } + if len(content) == 0 { + // Timeout: fall back to non-blocking Read for current value. + content, _ = entry.Read() + } if nextBase != "" { cs.mu.Lock() if f, ok := cs.fids[fc.Fid]; ok {