nginx-module-vts
nginx-module-vts copied to clipboard
ngx_http_vhost_traffic_status_display_get_size not lock
ngx_http_vhost_traffic_status_display_get_size not lock the share memory。if a new shm node being added,in the same time, another process call the ngx_http_vhost_traffic_status_display_get_size , may get wrong node,that have not be initial full.
@akf00000 Thanks reporting. I fixed it.
Commit: https://github.com/vozlt/nginx-module-vts/commit/1277c0121bc19603cf7554d6316fa3303feba6f3