tinyweb icon indicating copy to clipboard operation
tinyweb copied to clipboard

Update server to work with asyncio v3

Open nmattia opened this issue 6 months ago • 2 comments

There were a couple of breaking API changes in the asyncio v3 upgrade. these changes broke (among others) the max_concurrency support and the app.shutdown() clean shutdown (cancel() should be called on Tasks).

This also drops the asyncio v2/v3 conditional logic and instead just prints a warning if the system is running an unexpected asyncio version.

nmattia avatar Jun 29 '25 13:06 nmattia

I think this should also fix #56

nmattia avatar Jun 29 '25 13:06 nmattia

I just noticed this other fix: https://github.com/belyalov/tinyweb/pull/52

nmattia avatar Jun 29 '25 13:06 nmattia