You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/06/10 02:47:27 UTC
[apisix] branch master updated: change: remove upstream.enable_websocket which is deprecated since 2020 (#7222)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 7188acbcb change: remove upstream.enable_websocket which is deprecated since 2020 (#7222)
7188acbcb is described below
commit 7188acbcbba263bec61a0a65f7ec6b5e37363006
Author: sasakiyori <87...@qq.com>
AuthorDate: Fri Jun 10 10:47:21 2022 +0800
change: remove upstream.enable_websocket which is deprecated since 2020 (#7222)
---
apisix/init.lua | 3 ---
1 file changed, 3 deletions(-)
diff --git a/apisix/init.lua b/apisix/init.lua
index d68e31ba5..6dc072bdc 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -486,9 +486,6 @@ function _M.http_access_phase()
end
local route_val = route.value
- if route_val.upstream and route_val.upstream.enable_websocket then
- enable_websocket = true
- end
api_ctx.matched_upstream = (route.dns_value and
route.dns_value.upstream)