Re: [pylons-discuss] Programmatically creating and closing Waitress server: OSError: [Errno 9] Bad file descriptor

2022-01-24 Thread Bert JW Regeer
It’s using waitress under the hood, it’s not single threaded. > On Jan 24, 2022, at 09:51, Mikko Ohtamaa wrote: > > Hi Michael, > > > Have you looked at the StopableWSGIServer in webtest? I wonder if it can help > debug what you've been seeing. > >

Re: [pylons-discuss] Programmatically creating and closing Waitress server: OSError: [Errno 9] Bad file descriptor

2022-01-24 Thread Mikko Ohtamaa
Hi Michael, > Have you looked at the StopableWSGIServer in webtest? I wonder if it can > help debug what you've been seeing. > > > https://docs.pylonsproject.org/projects/webtest/en/latest/api.html#webtest.http.StopableWSGIServer > Thanks for the heads up. In this case, I hope to have a proper

Re: [pylons-discuss] Programmatically creating and closing Waitress server: OSError: [Errno 9] Bad file descriptor

2022-01-24 Thread Michael Merickel
Mikko, Have you looked at the StopableWSGIServer in webtest? I wonder if it can help debug what you've been seeing. https://docs.pylonsproject.org/projects/webtest/en/latest/api.html#webtest.http.StopableWSGIServer