]> src.bluestatic.org Git - mailpopbox.git/commit
Fix post-STARTTLS protocol bug.
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 2 Jan 2017 01:22:00 +0000 (20:22 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 2 Jan 2017 01:22:00 +0000 (20:22 -0500)
commitc83dcc2e3c0d291f8cf71dac6f900e72e630a554
tree76a5f1bf3240d25d1417366a5c02c44daa554c2f
parent7090804f9fc681c1097db825b4c4d4a3fc508b49
Fix post-STARTTLS protocol bug.

After the TLS handshake, the server should *not* reply with a greeting again,
but it should wait for an EHLO, per RFC 3207 ยง 4.2 & 5. Previously the server
would re-send the greeting, which un-syncs the protocol.
smtp/conn.go