Skip to content

Commit

Permalink
Bugfix: use trimmed serverZones name
Browse files Browse the repository at this point in the history
* Fixes #212
* it occurred when NGX_HTTP_CACHE is false
  • Loading branch information
u5surf committed Sep 16, 2022
1 parent c3f8e82 commit 3befaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_vhost_traffic_status_display_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ ngx_http_vhost_traffic_status_display_set_server_node(
vtsn->stat_request_time_counter_oc);
#else
buf = ngx_sprintf(buf, NGX_HTTP_VHOST_TRAFFIC_STATUS_JSON_FMT_SERVER,
key, vtsn->stat_request_counter,
&dst, vtsn->stat_request_counter,
vtsn->stat_in_bytes,
vtsn->stat_out_bytes,
vtsn->stat_1xx_counter,
Expand Down

0 comments on commit 3befaf9

Please sign in to comment.