Repository navigation
v0.9.6: fall back to a fresh tunnel
An opening no longer fails just because a stream was running.
Fixed
- With a video session alive the API asked it to open the door and returned
whatever it answered. A stale session made/openfail even though a fresh
tunnel would have worked. Now the socket is used only when it succeeds; on
failure the log says so and the direct path runs. - Openings done through the video session are recorded, so
/statusshows
them inlast_openlike LAN and remote ones.
Verified
go build,go vet,gofmtclean, full suite green.- New test
TestOpenFallsBackWhenVideoSessionFails: a control server whose
unlock fails plus a direct double, the request must return 200 having used
the direct path.
Not verified
- The fallback against the real bell needs a stream held open while the tunnel
has gone stale, so it still waits for a waking window.