nginx-module-vts icon indicating copy to clipboard operation
nginx-module-vts copied to clipboard

ngx_http_vhost_traffic_status_display_get_size not lock

Open akf00000 opened this issue 2 years ago • 1 comments

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 avatar Sep 25 '22 23:09 akf00000

@akf00000 Thanks reporting. I fixed it.

Commit: https://github.com/vozlt/nginx-module-vts/commit/1277c0121bc19603cf7554d6316fa3303feba6f3

vozlt avatar Sep 26 '22 14:09 vozlt