Skip to content

Commit

Permalink
Merge branch 'main' into feat/support-set-upstream-ssl-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinsRan committed Jan 20, 2025
2 parents a036fb1 + 6658589 commit 07dc93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resty/apisix/upstream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ local NGX_OK = ngx.OK
base.allows_subsystem("http")


ffi.cdef[[
ffi.cdef([[
typedef intptr_t ngx_int_t;
ngx_int_t ngx_http_apisix_upstream_set_cert_and_key(ngx_http_request_t *r, void *cert, void *key);
ngx_int_t ngx_http_apisix_upstream_set_ssl_trusted_store(ngx_http_request_t *r, void *store);
int ngx_http_apisix_set_upstream_ssl_verify(ngx_http_request_t *r, int verify);
]]
]])
local _M = {}


Expand Down

0 comments on commit 07dc93a

Please sign in to comment.