Skip to content

asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called #88968

@ntc2

Description

@ntc2
mannequin
BPO 44805
Nosy @ntc2, @asvetlov, @1st1
Files
  • server.py: Example server code
  • client.py: Example client code
  • 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 = None created_at = <Date 2021-08-02.07:45:23.250> labels = ['type-bug', '3.9', 'expert-asyncio'] title = 'asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called' updated_at = <Date 2021-10-24.08:09:32.313> user = 'https://github.com/ntc2'

    bugs.python.org fields:

    activity = <Date 2021-10-24.08:09:32.313> actor = 'ntc2' assignee = 'none' closed = False closed_date = None closer = None components = ['asyncio'] creation = <Date 2021-08-02.07:45:23.250> creator = 'ntc2' dependencies = [] files = ['50198', '50199'] hgrepos = [] issue_num = 44805 keywords = [] message_count = 3.0 messages = ['398731', '398734', '404916'] nosy_count = 3.0 nosy_names = ['ntc2', 'asvetlov', 'yselivanov'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue44805' versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.12only security fixestopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions