提交 142fa992 authored 作者: Anthony Minessale's avatar Anthony Minessale

Do not include descriptions on socket shutdowns for failures since they probably…

Do not include descriptions on socket shutdowns for failures since they probably will never get it anyway and its in a protected section of code
上级 3a477c42
......@@ -184,7 +184,7 @@ static switch_status_t socket_logger(const switch_log_node_t *node, switch_log_l
} else {
switch_log_node_free(&dnode);
if (++l->lost_logs > MAX_MISSED) {
kill_listener(l, "Disconnected due to log queue failure.\n");
kill_listener(l, NULL);
}
}
}
......@@ -384,7 +384,7 @@ static void event_handler(switch_event_t *event)
}
} else {
if (++l->lost_events > MAX_MISSED) {
kill_listener(l, "Disconnected due to event queue failure.\n");
kill_listener(l, NULL);
}
switch_event_destroy(&clone);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论