diff options
author | Omar Polo <op@omarpolo.com> | 2023-07-23 18:45:05 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-07-23 18:45:05 +0000 |
commit | a1ba9650a9f0cc0d9e70800d71769d32f927b939 (patch) | |
tree | 4ce8a9b5e4cd3aff8a41d4cd67c15f7c07774b17 /utils.c | |
parent | f36ba9be59c1b60aff4b9663f49d8656800afa00 (diff) |
revamp fastcgi configuration: make it per-location
this revamps the syntax in the configuration to better match httpd(8)
(and in general be less weird) and to allow per-location fastcgi
configurations.
the bare `param' is now deprecated, but for compatibility it acts
like `fastcgi param' would do now. Same story for `fastcgi <pathÂ>'.
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -348,7 +348,6 @@ new_vhost(void) h = xcalloc(1, sizeof(*h)); TAILQ_INIT(&h->addrs); TAILQ_INIT(&h->locations); - TAILQ_INIT(&h->params); TAILQ_INIT(&h->aliases); TAILQ_INIT(&h->proxies); return h; @@ -362,6 +361,7 @@ new_location(void) l = xcalloc(1, sizeof(*l)); l->dirfd = -1; l->fcgi = -1; + TAILQ_INIT(&l->params); return l; } |