[issue12502] 100% cpu usage when using asyncore with UNIX socket
Ross Lagerwall
report at bugs.python.org
Tue Jul 5 21:31:48 CEST 2011
Ross Lagerwall <rosslagerwall at gmail.com> added the comment:
Looks good, the patch seems to fix the problem.
This section of code indicates that the accepting socket shouldn't be in the write set...
def handle_write_event(self):
if self.accepting:
# Accepting sockets shouldn't get a write event.
# We will pretend it didn't happen.
return
----------
nosy: +rosslagerwall
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12502>
_______________________________________
More information about the Python-bugs-list
mailing list