You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2022/02/10 13:26:13 UTC
[GitHub] [qpid-dispatch] jiridanek commented on pull request #1506: DISPATCH-2323 Try binding to a port before handing it out as "free"
jiridanek commented on pull request #1506:
URL: https://github.com/apache/qpid-dispatch/pull/1506#issuecomment-1034920172
I tried posting a SO question about ungraceful shutdown of the `http.server` in Python. There was no reply, but I believe it can be implemented the way (linked) Go server does it: keep track of incoming sockets and `.shutdown()` them when quitting. That should unblock any ongoing request processing stuck on `read()` and let it to finish.
https://stackoverflow.com/questions/70916335/how-do-i-forcibly-disconnect-all-currently-connected-clients-to-my-tcp-or-http-s
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org