bpo-40305/README.md

495 B

Reproducer to github issue on cpython repository

This code create a Thread and run a minimal http server into it.

19556

how to reproduce

The tricky part is in Main.py line 28 class BackendThreadHttpServer method server_close()

when running this code and exiting it with ctrl+c

If BackendThreadHttpServer#server_close() method doesn't call BaseServer.shutdown(self) the thread join never occurred

and so the program never end