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

RuntimeError: Cannot pause_reading() when closing #488

Open
fafhrd91 opened this issue Jan 23, 2017 · 2 comments
Open

RuntimeError: Cannot pause_reading() when closing #488

fafhrd91 opened this issue Jan 23, 2017 · 2 comments

Comments

@fafhrd91
Copy link

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

@1st1
Copy link
Member

1st1 commented Jan 23, 2017

Sounds like a good idea to me.

@fafhrd91
Copy link
Author

fafhrd91 commented Mar 3, 2017

@1st1 if you move this ticket to cpython, you can assign it to me, I will work on this issue next during next couple days

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants