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
{{ message }}
Repository navigation
logging.config.listen() enters an infinite loop when a client disconnects early #162091
logging.config.listen() can enter an infinite loop and consume 100% of one CPU core when a client disconnects before sending the declared payload length.
In ConfigStreamHandler.handle(), the receive loop does not handle EOF. When the client closes the connection, recv() returns b'', leaving the buffer length unchanged and causing the loop to run indefinitely.
Activity