cubicdaiya / ngx_dynamic_upstream

Dynamic upstream for nginx
Other
501 stars 108 forks source link

ngx_http_upstream_srv_conf_t has no member named ‘shm_zone’ #14

Closed zheng-ji closed 8 years ago

zheng-ji commented 8 years ago

when i compile ngx_dynamic_upstream with the below command:

 /usr/share/tengine/sbin/dso_tool --add-module=/soft/ngx_dynamic_upstream

its output in terminal is:

ngx_dynamic_upstream_module.c:76:17: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘shm_zone’
         if (uscf->shm_zone != NULL &&
               ^

I don't know why.is it a bug?

cubicdaiya commented 8 years ago

See https://github.com/cubicdaiya/ngx_dynamic_upstream/issues/13 .