Hello,

On 21/11/24 01:41, Benjamin Stürz wrote:
> Hi,
>
> Is it intended behavior, that `fastcgi param`
> doesn't overwrite variables?


I'm not a fastcgi lawyer, but I think it's wrong.


> [...]
>
> When I open in a web browser, I get this:
> SERVER_SOFTWARE=OpenBSD httpd
> SERVER_PROTOCOL=HTTP/1.1
> SERVER_NAME=example        # this doesn't get overwritten
> [...]
> SERVER_NAME=env            # note these duplicates
> SERVER_NAME=env
> [...]
>
>
> The actual use-case involves Gotwebd,
> which removed removed the ability
> to specify per-server `listen on socket`.


for gotwebd in particular, back in may I've changed it to only use the last 
matching fastcgi parameter (see got commit 913884630c), so I'd expect it to 
pick up SERVER_NAME=env instead.

Reply via email to