[pylons-devel] Re: Stopping a waitress thread

2014-08-11 Thread Ram Rachum
Awesome, thanks! On Monday, August 11, 2014 8:58:49 AM UTC+3, Laurence Rowe wrote: > > On Thursday, 7 August 2014 14:30:57 UTC-7, Ram Rachum wrote: >> >> I have a thread running `waitress.serve`. How can I stop it from serving >> without killing the thread? (Which is not recommended generally.)

[pylons-devel] Re: Stopping a waitress thread

2014-08-10 Thread Laurence Rowe
On Thursday, 7 August 2014 14:30:57 UTC-7, Ram Rachum wrote: > > I have a thread running `waitress.serve`. How can I stop it from serving > without killing the thread? (Which is not recommended generally.) > WebTest has a waitress subclass, StopableWSGIServer: https://github.com/Pylons/webtest/b