mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-12-17 18:07:16 +00:00
Fix session close bug
This commit is contained in:
parent
24fbb8146a
commit
9e8d990e72
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ func (c *Session) Read() bool {
|
|||
c.Write(reply)
|
||||
if reply.Status == 221 {
|
||||
io.Closer(c.conn).Close()
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue