bradfitz/go-smtpd — pull request #5 by pranavrc (2014-04-09 07:16:24+00:00)
Title: Handle errors returned by Close(), if any.

Since the Close() function seems to be a callback that happens during end of data, shouldn't s.sendlinef("250 2.0.0 Ok: queued") be done only after handling any errors that the User wants to return from Close()?