webpy/webpy — pull request #122 by Irfy (2011-12-16 23:41:54+00:00)
Title: Make web.py applications stoppable in stand-alone mode

I added an app.stop() method to be able to stop the stand-alone server programmatically in dev-mode, for whatever reason.

My reason is that I'm serving http requests in an embedded system without a 'proper' web server front-end, as part of a larger multithreaded python application, which needs to support stopping and restarting for management purposes.