https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8598

            Bug ID: 8598
           Summary: Redirectors: url_redirector_timeout limits each read
                    of a request, not the request
           Product: Spamassassin
           Version: 4.0.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 6320
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6320&action=edit
patch to bound each Redirectors LWP request by url_redirector_timeout

In the Redirectors plugin, url_redirector_timeout is documented as the maximum
time that its HTTP requests sent by LWP can take. Instead, it is applied to
each read of the connection, so a request can take up to url_redirector_timeout
times the number of reads.

The attached patch runs each request under a Mail::SpamAssassin::Timeout of
url_redirector_timeout seconds. On a time-out the URL is treated as not
resolved.

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

Reply via email to