Improve redbean plus code size optimizations

This change turns symbol table compression back on using Puff, which
noticeably reduces the size of programs like redbean and Python. The
redbean web server receives some minor API additions for controlling
things like SSL in addition to filling gaps in the documentation.
This commit is contained in:
Justine Tunney 2022-05-29 08:14:55 -07:00
parent 425ff5dff0
commit 13ee75150c
58 changed files with 2077 additions and 589 deletions

View file

@ -19,7 +19,8 @@
#include "libc/str/str.h"
#include "third_party/mbedtls/platform.h"
void mbedtls_platform_zeroize(void *p, size_t n) {
// disable ubsan because n=0 is defined behavior in cosmopolitan
noubsan void mbedtls_platform_zeroize(void *p, size_t n) {
MBEDTLS_INTERNAL_VALIDATE(!n || p);
bzero(p, n);
}