mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 22:34:04 +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)
|
c.Write(reply)
|
||||||
if reply.Status == 221 {
|
if reply.Status == 221 {
|
||||||
io.Closer(c.conn).Close()
|
io.Closer(c.conn).Close()
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue