wolf71 / TinyWebDav

A Single File,Tiny, Python WebDav Server .
145 stars 42 forks source link

Stopping server #1

Open jldiaz opened 11 years ago

jldiaz commented 11 years ago

How do you stop the server in Pythonista or Editorial? The only way I was capable of was by killing the app.

I tried to overload the serve_forever() method as explained in http://stackoverflow.com/questions/268629/how-to-stop-basehttpserver-serve-forever-in-a-basehttprequesthandler-subclass, hoping that the boolean could be accesible from the python console and at least I could stop it "manually". However, the python console seems unresponsive after launching the WebDav server.