Problem:
Currently when shutting down, the main loop is just stopped after closing all connections, but before all the buffered </stream> have been sent and the connections properly closed.
Solution:
Adapt the experimental mod_graceful_shutdown procedure into util.startup.
Problem: Currently when shutting down, the main loop is just stopped after closing all connections, but before all the buffered </stream> have been sent and the connections properly closed. Solution: Adapt the experimental mod_graceful_shutdown procedure into util.startup.
Done in https://hg.prosody.im/trunk/rev/81f147ddc4ab ... https://hg.prosody.im/trunk/rev/4f1fe6eb1ddb
Changes