cosmopolitan/libc/log
Justine Tunney 8c4cce043c Make improvements to redbean
The following Lua APIs have been added:

  - IsDaemon() → bool
  - ProgramPidPath(str)

The following Lua hooks have been added:

  - OnClientConnection(ip:int,port:int,serverip:int,serverport:int) → bool
  - OnProcessCreate(pid:int,ip:int,port:int,serverip:int,serverport:int)
  - OnProcessDestroy(pid:int)
  - OnServerStart()
  - OnServerStop()
  - OnWorkerStart()
  - OnWorkerStop()

redbean now does a better job at applying gzip on the fly from the local
filesystem, using a streaming chunked api with constant memory, which is
useful for doing things like serving a 4gb text file off NFS, and having
it start transmitting in milliseconds. redbean will also compute entropy
on the beginnings of files to determine if compression is profitable.

This change pays off technical debts relating to memory, such as relying
on exit() to free() allocations. That's now mostly fixed so it should be
easier now to spot memory leaks in malloc traces.

This change also fixes bugs and makes improvements to our SSL support.
Uniprocess mode failed handshakes are no longer an issue. Token Alpn is
offered so curl -v looks less weird. Hybrid SSL certificate loading is
now smarter about naming conflicts. Self-signed CA root anchors will no
longer be delivered to the client during the handshake.
2021-07-10 15:19:37 -07:00
..
thunks Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
addr2linepath.c Change license 2020-12-27 17:18:44 -08:00
attachdebugger.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
backtrace.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
backtrace2.c Make minor revisions to previous change 2021-06-30 10:45:27 -07:00
backtrace3.c Make improvements to redbean 2021-07-10 15:19:37 -07:00
bsd.h Add chibicc 2020-12-06 16:20:21 -08:00
cancolor.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
check.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
checkaligned.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
checkfail.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
checkfail_ndebug.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
color.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
commandvenv.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
die.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
err.c Change license 2020-12-27 17:18:44 -08:00
errx.c Change license 2020-12-27 17:18:44 -08:00
flogf.c Change license 2020-12-27 17:18:44 -08:00
gdb.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
gdbexec.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
gdbpath.c Change license 2020-12-27 17:18:44 -08:00
gdbsync.c Change license 2020-12-27 17:18:44 -08:00
getsymboltable.c Change license 2020-12-27 17:18:44 -08:00
getttycols.c Change license 2020-12-27 17:18:44 -08:00
getttysize.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
internal.h Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
isrunningundermake.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
isterminalinarticulate.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
log.h Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
log.mk Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
logerrno.c Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
logfile.initabi.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
loglevel.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
malloc_stats.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
meminfo.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
memsummary.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
oncrash.c Make improvements to redbean 2021-07-10 15:19:37 -07:00
oncrashthunks.S Add SSL to redbean 2021-06-24 13:20:50 -07:00
onkill.c Make pow() conform to standard definition 2021-03-03 09:21:27 -08:00
perror.c Make minor improvements 2021-05-15 21:53:26 -07:00
showcrashreports.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
startfatal.c Implement more security stuff 2021-02-02 20:21:06 -08:00
startfatal_ndebug.c Change license 2020-12-27 17:18:44 -08:00
verr.c Change license 2020-12-27 17:18:44 -08:00
verrx.c Change license 2020-12-27 17:18:44 -08:00
vflogf.c Make redbean tinier 2021-07-04 12:26:54 -07:00
vwarn.c Change license 2020-12-27 17:18:44 -08:00
vwarnx.c Change license 2020-12-27 17:18:44 -08:00
warn.c Change license 2020-12-27 17:18:44 -08:00
warnx.c Change license 2020-12-27 17:18:44 -08:00