add ServerConn states

This commit is contained in:
aler9
2021-01-06 15:34:54 +01:00
parent 8e70ac4d59
commit 8cd0b902ed
3 changed files with 170 additions and 48 deletions

View File

@@ -22,5 +22,5 @@ func (s *Server) Accept() (*ServerConn, error) {
return nil, err
}
return newServerConn(s, nconn), nil
return newServerConn(s.conf, nconn), nil
}