Skip to content

Commit

Permalink
feat(patch): control the proxy_upstream in lua side
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Dec 18, 2024
1 parent 8d56e32 commit 881525b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lualib/resty/kong/upstream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ ngx_http_lua_ffi_set_upstream_next(ngx_http_request_t *r, uint32_t next_upstream
]])

local type = type
local error = error
local tostring = tostring
local C = ffi.C
local get_request = base.get_request
local ffi_str = ffi.string

local NGX_OK = ngx.OK


local next_upstream_table = {
error = 0x00000002,
timeout = 0x00000004,
Expand Down

0 comments on commit 881525b

Please sign in to comment.