Commit Briefs

Omar Polo

remove dead code


Omar Polo

turn log styles into strings from yacc point of view

having styles as reserved keywords means that variables / macros can't be called `common', `condensed', etc... which is not great and not obvious either. Instead, let's keep the log styles as strings and match on them. This also allows to have a slightly better error message in case of a typo. See: https://codeberg.org/op/gmid/issues/1


Omar Polo

remove stray space


Omar Polo

rework the grammar so that ; is accepted after variables and options

See Codeberg issue #1.


Omar Polo

fix missing listen on warning

printed the wrong value for the hostname


Omar Polo

plug a leak

all other rules are freeing the value of `listen_addr'


Omar Polo

fix automatic guessing of `listen on'

default_host needs to be NULL for getaddrinfo(3) to listen on everything.


Omar Polo

implement fastcgi strip number


Omar Polo

add `log syslog facility' to use a different syslog(3) facility

Was requested ages ago by Karl Jeacle, now that there is some better support for configuring the logging there's no excuse to add this. It helps with filtering from syslog.d / syslog.conf.


Omar Polo

sort logopt



Omar Polo

typo


Omar Polo

allow to change the logging style; introduce some new ones

add `log style <style>'; The old default is called `legacy' now, a new default format is added called `condensed', and `common' and `combined' to mimick Apache httpd and nginx (respectively) are also added.



Omar Polo

fix a reduce/reduce conflict

location -> error and locopt -> fastcgi -> error both end up with a optnl that can be reduced to the empty string.