Skip to content

Commit a3c243a

Browse files
committed
dns_update has been fixed
1 parent 960eef2 commit a3c243a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nginx.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ http {
6565
listen 6003;
6666

6767
location / {
68-
content_by_lua_block {
69-
ngx.say("hello")
70-
}
68+
echo hello;
7169
}
7270
}
7371
}

src/ngx_http_dynamic_upstream_module.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@ template <class S> struct upstream_sync_functor
959959
dscf->next = now + dscf->interval;
960960

961961
op.op = NGX_DYNAMIC_UPSTEAM_OP_SYNC;
962+
op.hash = 0;
962963
op.upstream = uscf->host;
963964
op.op_param |= NGX_DYNAMIC_UPSTEAM_OP_PARAM_RESOLVE_SYNC;
964965
if (dscf->ipv6 == 1)

0 commit comments

Comments
 (0)