FIX: EOF disconnect error also called raw handler afterwards
This commit is contained in:
förälder
09c626f488
incheckning
97731e1774
@ -66,6 +66,7 @@ func (a *agent) work() {
|
|||||||
|
|
||||||
} else if( err == io.EOF ){
|
} else if( err == io.EOF ){
|
||||||
a.disconnect_error(err)
|
a.disconnect_error(err)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
a.worker.err(err)
|
a.worker.err(err)
|
||||||
// If it is unexpected error and the connection wasn't
|
// If it is unexpected error and the connection wasn't
|
||||||
|
Laddar…
Referens i nytt ärende
Block a user