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

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

Thread Previous
From:
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?=
Date:
May 17, 2007 15:34
Subject:
Re: [svn:qpsmtpd] r740 - in trunk: . lib/Qpsmtpd plugins
Message ID:
59AD520B-F049-4DAA-8EC6-158E0067B497@develooper.com

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, msergeant@cvs.perl.org 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

-- 
http://develooper.com/ - http://askask.com/



Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About