Skip to content

Server fails to shutdown while persistent connections exist #180

Closed
@ciscorn

Description

@ciscorn

I noticed that my aiohttp server with uvloop==0.11.0 awaits until all connections (WebSocket, streaming, etc.) are closed. This behavior prevents us from performing aiohttp's graceful shutdown.

This problem doesn't occur with uvloop==0.10.2.

I'm suspecting the commit 124e981 because this change seems not to conform to the following spec:

asyncio.Server.close()
Stop serving: close listening sockets and set the sockets attribute to None.
The sockets that represent existing incoming client connections are left open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions