- Use poll instead of select in asyncore.loop. This should solve the "Unknown error 514". Thanks to Michael Geiger and Klaus Lehmann.

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@700 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
Cyril Jaquier
2008-07-14 21:56:07 +00:00
parent 11c8c71014
commit cc62cd7076
2 changed files with 4 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ class AsyncServer(asyncore.dispatcher):
# Sets the init flag.
self.__init = True
# TODO Add try..catch
asyncore.loop()
asyncore.loop(use_poll = True)
##
# Stops the communication server.