mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-31 17:52:27 +00:00
Redbean fix text detect (#388)
This resets istext between requests, which may cause response to be zipped when not needed (on non-text content).
This commit is contained in:
parent
5a132f9652
commit
c3fb624647
3 changed files with 12 additions and 12 deletions
|
@ -1498,8 +1498,8 @@ static const luaL_Reg kLuaUnix[] = {
|
|||
{"fdatasync", LuaUnixFdatasync}, // flush open file w/o metadata
|
||||
{"truncate", LuaUnixTruncate}, // shrink or extend file medium
|
||||
{"ftruncate", LuaUnixTruncate}, // shrink or extend file medium
|
||||
{"umask", LuaUnixUmask}, // change root directory
|
||||
{"chroot", LuaUnixChroot}, // get parent process id
|
||||
{"umask", LuaUnixUmask}, // set default file mask
|
||||
{"chroot", LuaUnixChroot}, // change root directory
|
||||
{"setrlimit", LuaUnixSetrlimit}, // prevent cpu memory bombs
|
||||
{"getrlimit", LuaUnixGetrlimit}, // query resource limits
|
||||
{"getppid", LuaUnixGetppid}, // get parent process id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue