mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-12-03 20:01:50 +01:00
SessionAges only counted a refresh as proof of a live visitor session, so after SESSION_FRESH_FOR (5 min) every open began with a public-link handshake: info and SRP auth on new connections, then a new session client with a cold pool. The next episode after any episode paid it before its first byte, and so did the warm of the next episode near the credits, moving the playing episode onto cold connections. A successful operation now marks the session fresh too; a session that died anyway still gets its refresh and retry when the next request fails. B78.