On 11 Nov 2005, at 09:24, Matt Sergeant wrote:
On 10 Nov 2005, at 18:55, Brian Grossman wrote:
I think so. Net::DNS::Resolver::send() returns either a Packet object
or undef, so it seems reasonable to assume there will be only one
packet
even when using the asyncronous interface (bgsend). Also, the
bgread()
docs say that you should close the socket after reading it; I take
that as
confirmation that there will only be one packet.
A plugin can emit several unrelated queries before calling for a
CONTINUATION (mine does), so I think changing the Danga::DNS callback
API
will be necessary.
Actually I don't think it's that hard. Patch coming.
Does that work for you?