Title: Calling SocketServer.shutdown() when server_forever() was not called will hang · Issue #56672 · python/cpython · GitHub
Open Graph Title: Calling SocketServer.shutdown() when server_forever() was not called will hang · Issue #56672 · python/cpython
X Title: Calling SocketServer.shutdown() when server_forever() was not called will hang · Issue #56672 · python/cpython
Description: BPO 12463 Nosy @pitrou, @giampaolo, @socketpair, @akheron, @vadmium, @iritkatriel Files issue12463.patchsocketserver.patchsocketserver.patch: adds testsimple.py: Start a http server that immediately calls server.shutdown()socketserver.pa...
Open Graph Description: BPO 12463 Nosy @pitrou, @giampaolo, @socketpair, @akheron, @vadmium, @iritkatriel Files issue12463.patchsocketserver.patchsocketserver.patch: adds testsimple.py: Start a http server that immediatel...
X Description: BPO 12463 Nosy @pitrou, @giampaolo, @socketpair, @akheron, @vadmium, @iritkatriel Files issue12463.patchsocketserver.patchsocketserver.patch: adds testsimple.py: Start a http server that immediatel...
Opengraph URL: https://github.com/python/cpython/issues/56672
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Calling SocketServer.shutdown() when server_forever() was not called will hang","articleBody":"BPO | [12463](https://bugs.python.org/issue12463)\n--- | :---\nNosy | @pitrou, @giampaolo, @socketpair, @akheron, @vadmium, @iritkatriel\nFiles | \u003cli\u003e[issue12463.patch](https://bugs.python.org/file22749/issue12463.patch \"Uploaded as text/plain at 2011-07-25.11:16:58 by @akheron\")\u003c/li\u003e\u003cli\u003e[socketserver.patch](https://bugs.python.org/file22755/socketserver.patch \"Uploaded as text/plain at 2011-07-25.19:38:16 by @giampaolo\")\u003c/li\u003e\u003cli\u003e[socketserver.patch](https://bugs.python.org/file22762/socketserver.patch \"Uploaded as text/plain at 2011-07-25.22:43:10 by @giampaolo\"): adds test\u003c/li\u003e\u003cli\u003e[simple.py](https://bugs.python.org/file24083/simple.py \"Uploaded as text/plain at 2011-12-23.01:40:14 by Arcege\"): Start a http server that immediately calls server.shutdown()\u003c/li\u003e\u003cli\u003e[socketserver.patch](https://bugs.python.org/file24093/socketserver.patch \"Uploaded as text/plain at 2011-12-26.15:48:45 by Arcege\"): Patch to fix shutdown() method\u003c/li\u003e\u003cli\u003e[simpletest.py](https://bugs.python.org/file24094/simpletest.py \"Uploaded as text/plain at 2011-12-26.15:52:18 by Arcege\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2021-05-27.17:41:24.963\u003e\ncreated_at = \u003cDate 2011-07-01.10:46:37.506\u003e\nlabels = ['type-bug', 'library']\ntitle = 'Calling SocketServer.shutdown() when server_forever() was not called will hang'\nupdated_at = \u003cDate 2021-05-27.17:41:24.963\u003e\nuser = 'https://github.com/socketpair'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-05-27.17:41:24.963\u003e\nactor = 'iritkatriel'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2021-05-27.17:41:24.963\u003e\ncloser = 'iritkatriel'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2011-07-01.10:46:37.506\u003e\ncreator = 'socketpair'\ndependencies = []\nfiles = ['22749', '22755', '22762', '24083', '24093', '24094']\nhgrepos = []\nissue_num = 12463\nkeywords = ['patch', 'needs review']\nmessage_count = 22.0\nmessages = ['139565', '141086', '141104', '141105', '141109', '141110', '141116', '141126', '141127', '141167', '141168', '141169', '141170', '141178', '141184', '141185', '141808', '150126', '150263', '150264', '260070', '394580']\nnosy_count = 10.0\nnosy_names = ['pitrou', 'giampaolo.rodola', 'neologix', 'santoso.wijaya', 'socketpair', 'tshepang', 'petri.lehtinen', 'martin.panter', 'Arcege', 'iritkatriel']\npr_nums = []\npriority = 'normal'\nresolution = 'out of date'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12463'\nversions = ['Python 2.6', 'Python 2.7', 'Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/socketpair","@type":"Person","name":"socketpair"},"datePublished":"2011-07-01T10:46:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/56672/cpython/issues/56672"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:90313bf8-653e-337e-8f54-78dcb2a6558f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB3C:2F98EE:7BB2C71:A578B19:6A5E1B47 |
| html-safe-nonce | 480cf8edcf8400ffb28b1169a98e0da0b68acff7a0579ebc0729e43ecc3c7330 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjNDOjJGOThFRTo3QkIyQzcxOkE1NzhCMTk6NkE1RTFCNDciLCJ2aXNpdG9yX2lkIjoiMjEzMTA5MDYxNDMxNDIxMjE2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1b964fe0366fa95fde7f973a70c3d165ff3a227f8ce244383dfd18483879461b |
| hovercard-subject-tag | issue:1198870834 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/56672/issue_layout |
| twitter:image | https://opengraph.githubassets.com/262d5c659872726a9054022d66e5691451fa0c357d55ae97e8db0f6bf3e0f772/python/cpython/issues/56672 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/262d5c659872726a9054022d66e5691451fa0c357d55ae97e8db0f6bf3e0f772/python/cpython/issues/56672 |
| og:image:alt | BPO 12463 Nosy @pitrou, @giampaolo, @socketpair, @akheron, @vadmium, @iritkatriel Files issue12463.patchsocketserver.patchsocketserver.patch: adds testsimple.py: Start a http server that immediatel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | socketpair |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a60e060dad2c24f72179d36247204b454da37845d1728020cd42046a433f87f |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0ae7f3ea7b1bb2f1f4623bb093bbf54cee05d830 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width