On Fri, 11 Nov 2005 11:31:45 -0500 Matt Sergeant <[EMAIL PROTECTED]> wrote:
> >> 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? Doesn't this (from trunk/plugins/dnsbl): - $qp->finish_continuation unless $pending; + $qp->finish_continuation if $qp->input_sock->readable; make the continuation finish after the first callback, regardless or what else may be in the response packet? I suspect this because trunk/lib/Danga/DNS.pm:new() sends the query then immediately calls $client->enable_read(). (Wow, lib/Danga/DNS has changed a lot since I last synced it to my production branch.) Brian
