Message75947
asyncore.file_dispatcher stores the file descriptor passed to
asyncore.file_dispatcher.__init__ into the map, not the dup()'ed one
created by asyncore.file_wrapper. Because of this, a "select.error (9,
'Bad file descriptor')" is raised in asyncore.loop() if the fd passed to
asyncore.file_dispatcher.__init__ is closed while the loop is running.
Attached patch fixes the issue. |
|
Date |
User |
Action |
Args |
2008-11-17 00:20:32 | christianbecke | set | recipients:
+ christianbecke |
2008-11-17 00:20:32 | christianbecke | set | messageid: <1226881232.51.0.043979894828.issue4332@psf.upfronthosting.co.za> |
2008-11-17 00:20:29 | christianbecke | link | issue4332 messages |
2008-11-17 00:20:29 | christianbecke | create | |
|