change error value "fatal io error" to just "io error"

"fatal" was meant as "we need fatal for the connection, it will be dropped".
but it sounds more serious, as if something needs to be fixed.

hopefully enough for issue #39 by ArnoSen
This commit is contained in:
Mechiel Lukkien
2023-11-02 15:56:01 +01:00
parent 38694d3928
commit 79e522887e
2 changed files with 3 additions and 3 deletions

View File

@ -288,8 +288,8 @@ var commands = map[string]func(c *conn, tag, cmd string, p *parser){
"uid move": (*conn).cmdUIDMove,
}
var errIO = errors.New("fatal io error") // For read/write errors and errors that should close the connection.
var errProtocol = errors.New("fatal protocol error") // For protocol errors for which a stack trace should be printed.
var errIO = errors.New("io error") // For read/write errors and errors that should close the connection.
var errProtocol = errors.New("protocol error") // For protocol errors for which a stack trace should be printed.
var sanityChecks bool