Skip to content

http.server and SimpleHTTPServer hang after a few requests #75820

@mattpr

Description

@mattpr
mannequin
BPO 31639
Nosy @pfmoore, @ronaldoussoren, @tjguk, @ned-deily, @bitdancer, @vadmium, @zware, @zooba, @JulienPalard, @miss-islington
PRs
  • bpo-31639: Use threads in http.server #5018
  • [3.7] bpo-31639: Use threads in http.server module. (GH-5018) #6202
  • [3.6] bpo-31639: Use threads in http.server module. (GH-5018) #6203
  • bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name #7195
  • [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195) #7219
  • Files
  • Archive.zip: domain{1,2,3}.html files for reproducing the issue
  • 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 2018-03-23.16:52:59.262>
    created_at = <Date 2017-09-29.16:19:04.586>
    labels = ['OS-mac', 'type-bug', 'OS-windows']
    title = 'http.server and SimpleHTTPServer hang after a few requests'
    updated_at = <Date 2019-09-11.16:25:49.639>
    user = 'https://bugs.python.org/mattpr'

    bugs.python.org fields:

    activity = <Date 2019-09-11.16:25:49.639>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-23.16:52:59.262>
    closer = 'mdk'
    components = ['macOS', 'Windows']
    creation = <Date 2017-09-29.16:19:04.586>
    creator = 'mattpr'
    dependencies = []
    files = ['47177']
    hgrepos = []
    issue_num = 31639
    keywords = ['patch']
    message_count = 17.0
    messages = ['303335', '303352', '303437', '303439', '308518', '308521', '309076', '309082', '309083', '309094', '309105', '309110', '309120', '314314', '314325', '318082', '318141']
    nosy_count = 13.0
    nosy_names = ['paul.moore', 'ronaldoussoren', 'tim.golden', 'ned.deily', 'v+python', 'r.david.murray', 'martin.panter', 'zach.ware', 'steve.dower', 'mdk', 'mattpr', 'rogerwang', 'miss-islington']
    pr_nums = ['5018', '6202', '6203', '7195', '7219']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31639'
    versions = ['Python 2.7', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions