cosmopolitan/libc/testlib
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
almostequal.c Change license 2020-12-27 17:18:44 -08:00
almostequalf.c Change license 2020-12-27 17:18:44 -08:00
almostequallongdouble.c Change license 2020-12-27 17:18:44 -08:00
bench.h wip on intellisense (again) 2021-02-02 11:14:45 -05:00
bench.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
benchrunner.c Expose public garbage collector API for C language 2021-03-08 10:59:34 -08:00
binequals.c Change license 2020-12-27 17:18:44 -08:00
blocktronics.h Improve performance of bitscanning intrinsics 2021-06-15 06:29:51 -07:00
blocktronics.S Improve performance of bitscanning intrinsics 2021-06-15 06:29:51 -07:00
blocktronics.txt Improve performance of bitscanning intrinsics 2021-06-15 06:29:51 -07:00
clearxmmregisters.c Change license 2020-12-27 17:18:44 -08:00
combo.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
comborunner.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
contains.c Change license 2020-12-27 17:18:44 -08:00
endswith.c Change license 2020-12-27 17:18:44 -08:00
ezbench.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ezbenchcontrol.c Change license 2020-12-27 17:18:44 -08:00
ezbenchreport.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
fixture.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
fixturerunner.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
formatbinaryasglyphs.c Change license 2020-12-27 17:18:44 -08:00
formatbinaryashex.c Change license 2020-12-27 17:18:44 -08:00
formatbool.c Change license 2020-12-27 17:18:44 -08:00
formatfloat.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
formatint.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
formatrange.c Apply some touchups 2021-02-07 07:02:46 -08:00
formatstr.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
globals.c Change license 2020-12-27 17:18:44 -08:00
hexequals.c Change license 2020-12-27 17:18:44 -08:00
hyperion.h Make improvements to redbean 2021-07-10 15:19:37 -07:00
hyperion.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
hyperion.txt Initial import 2020-06-15 07:18:57 -07:00
incrementfailed.c Change license 2020-12-27 17:18:44 -08:00
moby.h Make improvements to redbean 2021-07-10 15:19:37 -07:00
moby.S Make improvements to redbean 2021-07-10 15:19:37 -07:00
moby.txt Make improvements to redbean 2021-07-10 15:19:37 -07:00
runner.c Change license 2020-12-27 17:18:44 -08:00
shoulddebugbreak.c Change license 2020-12-27 17:18:44 -08:00
showerror.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
showerror_.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
startswith.c Change license 2020-12-27 17:18:44 -08:00
strcaseequals.c Change license 2020-12-27 17:18:44 -08:00
strequals.c Change license 2020-12-27 17:18:44 -08:00
testcase.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
testlib.h Add integration test for redbean 2021-05-03 01:59:27 -07:00
testlib.mk Make improvements to redbean 2021-07-10 15:19:37 -07:00
testmain.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
testrunner.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
thrashcodecache.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ugly.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00