develooper Front page | perl.cvs.qpsmtpd | Postings from May 2007

Re: [svn:qpsmtpd] r740 - in trunk: . lib/Qpsmtpd plugins

Thread Previous
May 17, 2007 15:34
Re: [svn:qpsmtpd] r740 - in trunk: . lib/Qpsmtpd plugins
Message ID:

On May 17, 2007, at 15:30, Matt Sergeant wrote:

> On 17-May-07, at 6:27 PM, Ask Bjørn Hansen wrote:
>> On May 17, 2007, at 15:16, wrote:
>> +my $has_ipv6 = Qpsmtpd::TcpServer::has_ipv6;
>> Does that work with the Apache and the async server?
> Sort of :-)
> It works in the sense that all has_ipv6() does is check the perl  
> IPv6 libraries load. But -async (and I think Apache::*) has no  
> support for ipv6.

Well, it makes the tests break.  :-)

>> Also - I'm not entirely sure how it should work, but it seems like  
>> there are some opportunities for putting some of the "deal with IP  
>> addresses" stuff in as helper methods in Qpsmtpd::Plugin (or  
>> another "helper base class").
> No, I think the way it's done is specific to TcpServer, mostly.

(Just to be clear) I was thinking the stuff that went into the  
plugins -- it's nasty to have it be TcpServer specific (for one  
thing) and it seems like some of it should be general enough to be in  
the API somehow.    (Not important now, but worth keeping in mind  
before we add more IPv6 support).

  - ask

-- -

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About