Suppress call to router error handling where there is no router session.

This commit is contained in:
counterpoint
2015-09-18 09:04:32 +01:00
parent c69658889c
commit f3560512ff

View File

@ -395,7 +395,8 @@ static int gw_read_backend_event(DCB *dcb) {
"Authentication with backend failed. "
"Session will be closed.");
router->handleError(router_instance,
if (rsession)
router->handleError(router_instance,
rsession,
errbuf,
dcb,