aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-16 19:09:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-16 19:09:27 +0100
commit72cd49153aee41edaf5259a2055c990abc8db0aa (patch)
treed6eaf65409d45298899aa3cd40bc397457e9fef7 /utils
parentb5f194d795278bfc89db104c2d6188ae16b625b6 (diff)
downloadrspamd-72cd49153aee41edaf5259a2055c990abc8db0aa.tar.gz
rspamd-72cd49153aee41edaf5259a2055c990abc8db0aa.zip
Fix loops in POE.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/redirector.pl.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/redirector.pl.in b/utils/redirector.pl.in
index b615dc8d3..704f5749b 100755
--- a/utils/redirector.pl.in
+++ b/utils/redirector.pl.in
@@ -24,10 +24,7 @@ use Digest;
use Proc::Daemon;
use Proc::PidUtil;
-my $loop;
-eval "require @POE_LOOP@" or $loop = "POE::Loop::IO_Poll";
-use POE qw(Component::Server::TCP Filter::HTTPD Component::Client::HTTP)
- ; # p5-POE-Component-Client-HTTP
+use POE qw(@POE_LOOP@ Component::Server::TCP Filter::HTTPD Component::Client::HTTP);
my $with_swf = 1;
my $swf_parser;