You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@atomic should be protected and it is after #28
In contrast cancelling spawn() call means that waiting for a free slot in pending queue was not successful, outer task was closed earlier.
I don't think we have do something here, in practice cancelling on await spawn() could be processed as connection lost beforespawn() call -- from web server perspective should be no difference.
Example:
Cancellation of
await spawn(request, coro())
by https://github.com/aio-libs/aiohttp/pull/2257/files should be covered byasyncio,shield
or custom wrapperAs well aiohttp docs for now can use combination of
asyncio.shield
andspawn
to illuminate unexpected behaviorThe text was updated successfully, but these errors were encountered: