Browse Source

Fix no parse --fast-open in manager mode

pull/1893/head
Terry Chan 7 years ago
parent
commit
ed508ac142
1 changed files with 2 additions and 0 deletions
  1. 2
      src/manager.c

2
src/manager.c

@ -121,6 +121,8 @@ build_config(char *prefix, struct manager_ctx *manager, struct server *server)
fprintf(f, ",\n\"method\":\"%s\"", manager->method);
if (server->fast_open[0])
fprintf(f, ",\n\"fast_open\": %s", server->fast_open);
else if (manager->fast_open)
fprintf(f, ",\n\"fast_open\": true");
if (server->mode)
fprintf(f, ",\n\"mode\":\"%s\"", server->mode);
if (server->plugin)

Loading…
Cancel
Save