Repository navigation
v1.2.2
Patch release fixing abrupt host connection teardown when the proxy is restarted.
Fixes
-
proxy:
createProxy().close()now drains live host connections before closing the HTTP server. The SIGTERM/SIGINT handler inserver.tspreviously calledclose()which only stopped the HTTP listener — active TN5250/TN3270/VT/HP6530 sockets were abandoned and reaped by the OS, resulting in TCP RST rather than a clean FIN.On IBM i this left virtual telnet device descriptions stuck in
VARY ON PENDING. Subsequent sign-on attempts from device-restricted user profiles would land on the next device in the pool, fail withCPF2241/CPF1110 "Not authorized to work station", and after enough retries tripCPF1116which locks the profile out entirely.Drain covers all three holders: REST sessions in the session store, live WS
SessionControllers, and orphaned controllers. Adopted controllers (WS reattaches to a REST-owned Session, introduced in 1.2.1) are skipped — the Session owns their handler and is drained separately.
Packages
green-screen-types: 1.2.1 → 1.2.2green-screen-react: 1.2.1 → 1.2.2green-screen-proxy: 1.2.1 → 1.2.2green-screen-terminal: 1.2.1 → 1.2.2 (dep ongreen-screen-proxybumped to^1.2.2)green-screen-client: 1.2.1 → 1.2.2 (version-only, for monorepo lockstep)
No API changes. green-screen-client and green-screen-react functionality is unchanged from 1.2.1 — the fix is isolated to the proxy shutdown path.