You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/05/02 01:28:58 UTC

[Bug 3342] EFFICIENCY: Net::DNS is looked up multiple times

http://bugzilla.spamassassin.org/show_bug.cgi?id=3342





------- Additional Comments From felicity@kluge.net  2004-05-01 16:28 -------
yeah, that's part of an API cleanup TODO...

It gets loaded once in the main PerMsgStatus, then again in a "for DNS only" PerMsgStatus via Received::
parse_received_headers:

  # argh.  this is only used to perform DNS lookups.
  # TODO! we need to get Dns.pm code into a class that is NOT
  # part of Mail::SpamAssassin::PerMsgStatus to avoid this crap!
  $self->{dns_pms} = Mail::SpamAssassin::PerMsgStatus->new($self->{main}, $msg);




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.