Skip to content

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

@ntc2

Description

@ntc2
mannequin
BPO44805
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=Noneclosed_at=Nonecreated_at=<Date2021-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=<Date2021-10-24.08:09:32.313>user='https://github.com/ntc2'

    bugs.python.org fields:

    activity=<Date2021-10-24.08:09:32.313>actor='ntc2'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['asyncio'] creation=<Date2021-08-02.07:45:23.250>creator='ntc2'dependencies= [] files= ['50198', '50199'] hgrepos= [] issue_num=44805keywords= [] message_count=3.0messages= ['398731', '398734', '404916'] nosy_count=3.0nosy_names= ['ntc2', 'asvetlov', 'yselivanov'] pr_nums= [] priority='normal'resolution=Nonestage=Nonestatus='open'superseder=Nonetype='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