Skip to content

Commit

Permalink
Revert "bugfix: append new parameters to ngx_http_lua_ffi_balancer_se…
Browse files Browse the repository at this point in the history
…t_current_peer at function end."

This reverts commit 1b27e3a.
  • Loading branch information
jiahao committed Aug 1, 2024
1 parent 57ec47c commit cef5be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngx_http_lua_balancer.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,8 @@ ngx_http_lua_balancer_save_session(ngx_peer_connection_t *pc, void *data)
int
ngx_http_lua_ffi_balancer_set_current_peer(ngx_http_request_t *r,
const u_char *addr, size_t addr_len, int port,
char **err,
const u_char *host, size_t host_len)
const u_char *host, size_t host_len,
char **err)
{
ngx_url_t url;
ngx_http_lua_ctx_t *ctx;
Expand Down

0 comments on commit cef5be8

Please sign in to comment.