Skip to content

Simplify stream classes #2555

Closed
Closed
@asvetlov

Description

  • drop ChunksQueue -- not used by aiohttp code
  • drop FlowControlChunksQueue -- not used by aiohttp code
  • Merge FlowControlStreamReader into StreamReader, drop FlowControlStreamReader. The reader without flow control is not used by aiohttp, FlowControlStreamReader is too long name. Getting rid of await super() calls may boost performance a little.
  • Add hysteresis to StreamReader to prevent flipping between paused and resumed states too often.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions