Skip to content

Commit

Permalink
change: remove upstream.enable_websocket which is deprecated since 20…
Browse files Browse the repository at this point in the history
…20 (#7222)
  • Loading branch information
sasakiyori authored Jun 10, 2022
1 parent e5f7cec commit 7188acb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apisix/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7188acb

Please sign in to comment.