https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7054

            Bug ID: 7054
           Summary: PerMsgStatus could simplify plugins by caching A
                    record lookups for get_uri_detail_list()
           Product: Spamassassin
           Version: 3.4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: phil...@redfish-solutions.com

There are several plugins which call PerMsgStatus::get_uri_detail_list() for
the {hosts} hash.

The complexity to do efficient asynchronous lookups of the A records is
substantial, and is best moved into the framework rather than being left to the
plugins themselves.

Either the {hosts} hash could be replaced to not map the key to the value, but
instead map the key to an array reference of corresponding A records, or else
an additional hash could be added to the PerMsgStatus class which maps hosts to
their A record(s).

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

Reply via email to