Browse Source

Fix #2620

pull/2659/head
Max Lv 5 years ago
parent
commit
64d3235c67
1 changed files with 2 additions and 0 deletions
  1. 2
      src/manager.c

2
src/manager.c

@ -127,6 +127,8 @@ build_config(char *prefix, struct manager_ctx *manager, struct server *server)
fprintf(f, ",\n\"no_delay\": %s", server->no_delay);
else if (manager->no_delay)
fprintf(f, ",\n\"no_delay\": true");
if (manager->reuse_port)
fprintf(f, ",\n\"reuse_port\": true");
if (server->mode)
fprintf(f, ",\n\"mode\":\"%s\"", server->mode);
if (server->plugin)

Loading…
Cancel
Save