[exim-dev] [Bug 622] New: transport_filter_timeout bug and f…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dean Brooks
Datum:  
To: exim-dev
Neue Treads: [exim-dev] [Bug 622] transport_filter_timeout bug and fix, [exim-dev] [Bug 622] transport_filter_timeout bug and fix
Betreff: [exim-dev] [Bug 622] New: transport_filter_timeout bug and fix
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=622
           Summary: transport_filter_timeout bug and fix
           Product: Exim
           Version: 4.68
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: low
         Component: Transports
        AssignedTo: ph10@???
        ReportedBy: dean@???
                CC: exim-dev@???



The transport_filter_timeout global transport option is being ignored on SMTP
transports, causing the timeout to always be set to zero no matter what value
is set, which results in NO timeout. Not good.

Fortunately, the fix is very easy and appears to have been a simple coding
oversight.

Here is the context diff to fix the problem:

*** transports/smtp.c.orig      Mon Oct 22 21:48:26 2007
--- transports/smtp.c   Mon Oct 22 21:44:35 2007
***************
*** 1364,1369 ****
--- 1364,1370 ----
    sprintf(CS buffer, "%.50s transport", tblock->name);
    rc = transport_set_up_command(&transport_filter_argv,
tblock->filter_command,
      TRUE, DEFER, addrlist, buffer, NULL);
+   transport_filter_timeout = tblock->filter_timeout;


    /* On failure, copy the error to all addresses, abandon the SMTP call, and
    yield ERROR. */



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email