Need to mark the DCB dcb_errhandle_called indicator if the router error handler is not called.

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

View File

@ -396,12 +396,18 @@ static int gw_read_backend_event(DCB *dcb) {
"Session will be closed.");
if (rsession)
{
router->handleError(router_instance,
rsession,
errbuf,
dcb,
ERRACT_REPLY_CLIENT,
&succp);
}
else
{
dcb->dcb_errhandle_called = true;
}
gwbuf_free(errbuf);
LOGIF(LD, (skygw_log_write(
LOGFILE_DEBUG,