diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-11-22 23:13:12 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 18:08:52 -0400 |
commit | cec18f4381830e2ed307a38e80476311ff1e4cff (patch) | |
tree | 458ec2212ac62f07c551bab57dd0f9f40cbc5e88 /src/mod_wstunnel.c | |
parent | 24680a914269be024aa9dac22bcebfe8f5aaaf82 (diff) | |
download | lighttpd-git-cec18f4381830e2ed307a38e80476311ff1e4cff.tar.gz |
[core] gw_exts_clear_check_local()
Diffstat (limited to 'src/mod_wstunnel.c')
-rw-r--r-- | src/mod_wstunnel.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mod_wstunnel.c b/src/mod_wstunnel.c index af21b6e1..b64cd3c6 100644 --- a/src/mod_wstunnel.c +++ b/src/mod_wstunnel.c @@ -344,12 +344,7 @@ SETDEFAULTS_FUNC(mod_wstunnel_set_defaults) { /* disable check-local for all exts (default enabled) */ if (gw && gw->exts) { /*(check after gw_set_defaults_backend())*/ - for (uint32_t j = 0; j < gw->exts->used; ++j) { - gw_extension *ex = gw->exts->exts[j]; - for (uint32_t n = 0; n < ex->used; ++n) { - ex->hosts[n]->check_local = 0; - } - } + gw_exts_clear_check_local(gw->exts); } } |