Skip to content

Commit

Permalink
Fix session close bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-kent committed Dec 21, 2014
1 parent 24fbb81 commit 9e8d990
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MailHog-Server/smtp/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func (c *Session) Read() bool {
c.Write(reply)
if reply.Status == 221 {
io.Closer(c.conn).Close()
return false
}
}
}
Expand Down

0 comments on commit 9e8d990

Please sign in to comment.