Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Having more incomming connections than MAX_SESSIONS #795
I see in the logs that connections keeps rising above MAX_SESSION limit even after "closing"
Just want to add as a comment that SSL connections have a complex handshake, and asyncio only informs an app that a connection has happened after the handshake, so it's possible to get more connections appearing after the listening socket was closed because they actually initially connected before it was closed. There is nothing an app can do about that. So MAX_SESSIONS is necessarily a little approximate.