[99s-extend] Gracefully stop Ranch

Janos Hary janos.n.hary at gmail.com
Sun May 4 09:59:21 CEST 2014


All!

I implemented a protocol as a ranch_protocol. It handles long running
sessions. At some point I'd like to stop my server accepting new
connections, but allow all open sessions to finish. Then I need to know when
all the open sessions (if any) finished.

What would be the correct strategy to implement this?

Thanks,
Janos




More information about the Extend mailing list