From b47f1ac7ea3d80981485fd4ae82cd1c7fca3c337 Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Mon, 26 Jul 2021 15:00:46 +0800 Subject: Router: renamed nxt_http_proxy_create() as nxt_http_proxy_init(). No functional changes. --- src/nxt_http.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_http.h') diff --git a/src/nxt_http.h b/src/nxt_http.h index f0276afc..c08b3ba7 100644 --- a/src/nxt_http.h +++ b/src/nxt_http.h @@ -348,8 +348,8 @@ nxt_int_t nxt_upstream_find(nxt_upstreams_t *upstreams, nxt_str_t *name, nxt_http_action_t *nxt_upstream_proxy_handler(nxt_task_t *task, nxt_http_request_t *r, nxt_upstream_t *upstream); - -nxt_int_t nxt_http_proxy_create(nxt_mp_t *mp, nxt_http_action_t *action); +nxt_int_t nxt_http_proxy_init(nxt_mp_t *mp, nxt_http_action_t *action, + nxt_http_action_conf_t *acf); nxt_int_t nxt_http_proxy_date(void *ctx, nxt_http_field_t *field, uintptr_t data); nxt_int_t nxt_http_proxy_content_length(void *ctx, nxt_http_field_t *field, -- cgit