diff --git a/pkg/ident/server.go b/pkg/ident/server.go index ce6f6bc5..58914879 100644 --- a/pkg/ident/server.go +++ b/pkg/ident/server.go @@ -70,6 +70,7 @@ func (s *Server) handle(conn net.Conn) { defer conn.Close() scan := bufio.NewScanner(conn) + scan.Buffer(make([]byte, 32), 32) if !scan.Scan() { return }