[exim-dev] [Bug 2912] New: cutthrough delivery gets canceled…

Etusivu
Poista viesti
Vastaa
Lähettäjä: admin
Päiväys:  
Vastaanottaja: exim-dev
Uudet otsikot: [exim-dev] [Bug 2912] cutthrough delivery gets canceled on unexpected (non 2xx) SMTP response, [exim-dev] [Bug 2912] cutthrough delivery gets canceled on unexpected (non 2xx) SMTP response, [exim-dev] [Bug 2912] cutthrough delivery gets canceled on unexpected (non 2xx) SMTP response, [exim-dev] [Bug 2912] cutthrough delivery gets canceled on unexpected (non 2xx) SMTP response, [exim-dev] [Bug 2912] cutthrough delivery gets canceled on unexpected (non 2xx) SMTP response
Aihe: [exim-dev] [Bug 2912] New: cutthrough delivery gets canceled on unexpected (non 2xx) SMTP response
https://bugs.exim.org/show_bug.cgi?id=2912

            Bug ID: 2912
           Summary: cutthrough delivery gets canceled on unexpected (non
                    2xx) SMTP response
           Product: Exim
           Version: 4.96
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Delivery in general
          Assignee: unallocated@???
          Reporter: thomasm-exim@???
                CC: exim-dev@???


function cutthrough_response() (in src/verify.c) gets called with an expect
character '2'. It passes this on to smtp_read_response() . If FALSE is
returned, it does cancel_cutthrough_connection(TRUE, US"target timeout on
read") , even if there is no timeout, but just an unexpected return code.
IMHO in this case cutthrough should not get canceled, but the responsebuffer
returned to the caller -- so cancel only if(errno != 0).
Documentation in smtp_read_response() even states that the caller should look
at errno to distinguish those cases...

--
You are receiving this mail because:
You are on the CC list for the bug.