cosmopolitan/test/libc/stdio
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
..
dirstream_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
fgets_test.c Make %p consistent with glibc and musl 2021-03-06 14:36:44 -08:00
fgetwc_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
fmemopen_test.c Change license 2020-12-27 17:18:44 -08:00
fputc_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
fputs_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
freopen_test.c Fix freopen so it resets stream buffer (#61) 2021-03-07 12:12:02 -08:00
ftell_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
fwrite_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
getdelim_test.c Improve backwards compatibility with GNU Make 2021-05-02 07:48:59 -07:00
mkostempsm_test.c Fix redbean zip central directory lookup 2021-02-27 12:08:28 -08:00
popen_test.c Fix popen_test in MODE=dbg 2021-05-01 17:13:48 -07:00
spawn_test.c Fix writev() on the New Technology (#117) 2021-03-09 11:33:48 -08:00
system_test.c Change license 2020-12-27 17:18:44 -08:00
test.mk Make improvements to redbean 2021-07-10 15:19:37 -07:00
tmpfile_test.c Improve system call polyfills 2021-03-08 10:07:02 -08:00
ungetc_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00