提交 d9c56345 authored 作者: Anthony Minessale's avatar Anthony Minessale

up assert vaule on header loop detection to 1 meeeeelyonne for hmmhesegs

上级 a6db66ef
...@@ -744,7 +744,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_del_header_val(switch_event_t *even ...@@ -744,7 +744,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_del_header_val(switch_event_t *even
tp = tp->next; tp = tp->next;
x++; x++;
switch_assert(x < 1000); switch_assert(x < 1000000);
hash = switch_ci_hashfunc_default(header_name, &hlen); hash = switch_ci_hashfunc_default(header_name, &hlen);
if ((!hp->hash || hash == hp->hash) && !strcasecmp(header_name, hp->name) && (zstr(val) || !strcmp(hp->value, val))) { if ((!hp->hash || hash == hp->hash) && !strcasecmp(header_name, hp->name) && (zstr(val) || !strcmp(hp->value, val))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论