From cc62cd70760344b00f827a2cb1a28abfa218c170 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Mon, 14 Jul 2008 21:56:07 +0000 Subject: [PATCH] - 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 --- ChangeLog | 3 +++ server/asyncserver.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 699d99ad..6acd529d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,9 @@ ver. 0.8.3 (2008/??/??) - stable - Added and changed some logging level and messages. - Added missing ignoreregex to filters. Thanks to Klaus Lehmann. +- Use poll instead of select in asyncore.loop. This should + solve the "Unknown error 514". Thanks to Michael Geiger and + Klaus Lehmann. ver. 0.8.2 (2008/03/06) - stable ---------- diff --git a/server/asyncserver.py b/server/asyncserver.py index 548a8226..13a74dac 100644 --- a/server/asyncserver.py +++ b/server/asyncserver.py @@ -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.