Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

RuntimeError: Cannot pause_reading() when closing #488

Open
@fafhrd91

Description

@fafhrd91

i think pause_reading should be no-op during closing or for closed transport.
for aiohttp case parsing incoming data is separated from transport and it is not possible to control closing state of transport in current architecture. also closing process is asynchronous, it is very possible to get this exception even in simple asyncio libs.

issue aio-libs/aiohttp#1211

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions