Public bug reported:

Occurs in the version 3.6 of aiohttp (present currently in focal).

When cancelling a connector task, the associated resolver task (if not
finished) is not cancelled and continues running.

Unfortunately, if the resolver task eventually raises an exception
(e.g., socket.gaierror), the exception will go directly to the exception
handler because none will be awaiting the task anymore.

This is the root cause of https://bugs.launchpad.net/ubuntu-power-
systems/+bug/1969393

The fix on aiohttp was backported to 3.7 but not to 3.6.

https://github.com/aio-libs/aiohttp/pull/5050

** Affects: python-aiohttp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969817

Title:
  Uncaught exception when connector is cancelled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-aiohttp/+bug/1969817/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to