You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Server] Stdio session expires after an hour of silence #672
A stdio server stops answering after an hour without input: every request then gets Session not found or has expired, without an id, so the client cannot match it to its call, until it reconnects. InMemorySessionStore applies its default TTL of 3600 seconds and nothing renews the session on an idle connection. A stdio session has one client and lasts as long as the process, so it should not expire.
Reproduced on main on Linux with setSession(new InMemorySessionStore(2)), 5 seconds of silence and a ping. A workaround is setSession(new InMemorySessionStore(ttl: PHP_INT_MAX)).
Activity
fixed server ending by itself after 13.5 hours without input on Windows
fixed server ending by itself after 13.5 hours without input on Windows
fixed server ending by itself after 13.5 hours without input on Windows
fixed server ending by itself after 13.5 hours without input on Windows
fixed server ending by itself after 13.5 hours without input on Windows