The serve() method will get stuck
liyuefeng opened this issue · 1 comments
liyuefeng commented
window 11
release:5.0.9
code:
serve()
I find self.__shutdown_request is always False and serve can not start
while not self.__shutdown_request:
ready = selector.select(poll_interval)
# bpo-35017: shutdown() called during select(), exit immediately.
if self.__shutdown_request:
break
if ready:
self._handle_request_noblock()