Make improvements to redbean

- Fix Content-Type inference when file extension has number
- Remove shoddy Class A granular IP classiifcation
- Have setuid() and setgid() take effect w/o daemonization
- Make GetParams() return empty table instead of nil
- Change SetLogLevel(int) to only apply to one message
- Make SetLogLevel(int) good enough to be access_log off
- Introduce ProgramUid(int) which is same as -U INT
- Introduce ProgramGid(int) which is same as -G INT
- Introduce ProgramLogPath(str) which is same as -L PATH
- Introduce ProgramDirectory(str) which is same as -D PATH
- Introduce ProgramLogBodies(bool) which is same as -b
- Introduce ProgramLogMessages(bool) which is same as -m
This commit is contained in:
Justine Tunney 2021-07-08 15:56:23 -07:00
parent cc9366b200
commit feb0f9fb3a
5 changed files with 271 additions and 224 deletions

View file

@ -42,24 +42,6 @@ C(maps)
C(meltdowns)
C(messageshandled)
C(missinglengths)
C(netafrinic)
C(netanonymous)
C(netapnic)
C(netapple)
C(netarin)
C(netatt)
C(netcogent)
C(netcomcast)
C(netdod)
C(netford)
C(netlacnic)
C(netloopback)
C(netother)
C(netprivate)
C(netprudential)
C(netripe)
C(nettestnet)
C(netusps)
C(notfounds)
C(notmodifieds)
C(openfails)