It appears the test for availability and reporting of epoll
should be accessing class methods as follows:
my $POLL = "with " . (Danga::Socket->HaveEpoll() ? "epoll()" :
Danga::Socket->HaveKQueue() ? "kqueue()" : "poll()");
As the code is now:
my $POLL = "with " . ($Danga::Socket::HaveEpoll ? "epoll()" :
$Danga::Socket::HaveKQueue ? "kqueue()" : "poll()");
qpsmtpd-async will always report using "poll()".
Let me know the preferred way to generate patches and I'll supply a patch
next time.
- David
--
Like feeling your best ever, all day, every day? Here's how...
Your simple secrets are here - http://RadicalHealth.com