flashmob / go-guerrilla

Mini SMTP server written in golang
MIT License
2.79k stars 366 forks source link

unnecessary conversion #155

Closed tegk closed 5 years ago

tegk commented 5 years ago

server.go:544:31: client.bufin.setLimit(int64(sc.MaxSize) + 1024000) // This a hard limit.

server.go:469:51: client.MailFrom, err = client.parsePath([]byte(input[10:]), client.parser.MailFrom)

flashmob commented 5 years ago

Indeed. PR welcome. The 1024000 could be made a constant too.