commit 9715efe6f3838c40bbb66a8d0806cf785f2e7368 from: Omar Polo date: Wed Oct 05 10:41:54 2022 UTC retire fcgi' prog field spawning programs was a hidden feature used only for testing. It's gross and when got removed, I forgot to remove the field as well. commit - c5b4db930eb7d4546b7591bc719ce22abf83beb6 commit + 9715efe6f3838c40bbb66a8d0806cf785f2e7368 blob - 1bbdf9571f7d5d1a46f85617f3f3123885d20feb blob + f6d5da65ae49b3adbd17e44da637ca0094c08cf0 --- gmid.c +++ gmid.c @@ -279,15 +279,13 @@ free_config(void) } for (i = 0; i < FCGI_MAX; ++i) { - if (fcgi[i].path == NULL && fcgi[i].prog == NULL) + if (fcgi[i].path == NULL) break; free(fcgi[i].path); free(fcgi[i].port); - free(fcgi[i].prog); fcgi[i].path = NULL; fcgi[i].port = NULL; - fcgi[i].prog = NULL; } tls_free(ctx); blob - 402bf1be057146040b30189e66f110c423e49547 blob + 7be90515e98bc0f9d9eb25cf3b1fe61cc529a5c8 --- gmid.h +++ gmid.h @@ -100,7 +100,6 @@ struct fcgi { int id; char *path; char *port; - char *prog; }; extern struct fcgi fcgi[FCGI_MAX]; blob - 01df20f95a8e0bcc256fc7fcded173c6aaee5f86 blob + 66fc6a7397f39f8f2970ade820a9c707a129cda3 --- parse.y +++ parse.y @@ -1182,7 +1182,6 @@ fastcgi_conf(char *path, char *port, char *prog) f->id = i; f->path = path; f->port = port; - f->prog = prog; return i; }