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

           Summary: Mail::SpamAssasin::Client ping may erronesously result
                    in broken pipe.
           Product: Spamassassin
           Version: 3.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Libraries
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jo...@frukt.org


The ping method of Mail::SpamAssassin::Client send an extra $EOL after the $EOL
that terminates the PING command.

spamd breaks the connection after answering PONG to the PING.

If spamd has answered and hung up before the extra $EOL is sent, the ping
method gets a broken pipe even though tyhe connection is fine and it got a
PONG.

For any client using Mail::SpamAssassin::Client and prudently doing a ping
before deciding that the connection is usable, this is obviously a problem.

/Jonas

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to