Skip to content

Calling SocketServer.shutdown() when server_forever() was not called will hang #56672

@socketpair

Description

@socketpair
mannequin
BPO 12463
Nosy @pitrou, @giampaolo, @socketpair, @akheron, @vadmium, @iritkatriel
Files
  • issue12463.patch
  • socketserver.patch
  • socketserver.patch: adds test
  • simple.py: Start a http server that immediately calls server.shutdown()
  • socketserver.patch: Patch to fix shutdown() method
  • simpletest.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-05-27.17:41:24.963>
    created_at = <Date 2011-07-01.10:46:37.506>
    labels = ['type-bug', 'library']
    title = 'Calling SocketServer.shutdown() when server_forever() was not called will hang'
    updated_at = <Date 2021-05-27.17:41:24.963>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2021-05-27.17:41:24.963>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-27.17:41:24.963>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2011-07-01.10:46:37.506>
    creator = 'socketpair'
    dependencies = []
    files = ['22749', '22755', '22762', '24083', '24093', '24094']
    hgrepos = []
    issue_num = 12463
    keywords = ['patch', 'needs review']
    message_count = 22.0
    messages = ['139565', '141086', '141104', '141105', '141109', '141110', '141116', '141126', '141127', '141167', '141168', '141169', '141170', '141178', '141184', '141185', '141808', '150126', '150263', '150264', '260070', '394580']
    nosy_count = 10.0
    nosy_names = ['pitrou', 'giampaolo.rodola', 'neologix', 'santoso.wijaya', 'socketpair', 'tshepang', 'petri.lehtinen', 'martin.panter', 'Arcege', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12463'
    versions = ['Python 2.6', 'Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions