1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Fixing an erroneous connection close introduced in #98. (#101)

This commit is contained in:
kingforaday
2018-05-20 12:51:40 -04:00
committed by James Hillyerd
parent fdcb29a52b
commit 00dad88bde

View File

@@ -142,7 +142,6 @@ func (s *Server) startSession(id int, conn net.Conn) {
}() }()
ssn := NewSession(s, id, conn, logger) ssn := NewSession(s, id, conn, logger)
defer ssn.text.Close()
ssn.greet() ssn.greet()
// This is our command reading loop // This is our command reading loop