sozu-proxy / sozu

Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!

Home Page:https://www.sozu.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Are sessions properly terminated?

Wonshtrum opened this issue · comments

During tests, I observed that the zombie checker finds every session I created and terminates them without issue.
Two things to investigate:

  • is this normal or should they have been closed earlier? In my tests, I rarely connect a working backend so I end up with 5xx responses, but I assumed those sessions would be properly terminated right away
  • is this a generalized problem? In case of successful 2xx responses, are the sessions properly cleared when an endpoint is gracefully/abruptly disconnected

If sessions are not properly reclaimed as soon as they are closed Sozu will quickly run out of sessions to open.

solved by #854