
The binlogrouter error handling closed the DCB twice. This was caused by the change in the way the DCB error handling is done. The protocol modules now also call the error handling routine even if the router session is NULL. This enables the binlogrouter to manage authentication failures correctly instead of trying to reconnect again.