cosmopolitan/net/http
Justine Tunney ae5d06dc53 Unbloat build config
- 10.5% reduction of o//depend dependency graph
- 8.8% reduction in latency of make command
- Fix issue with temporary file cleanup

There's a new -w option in compile.com that turns off the recent
Landlock output path workaround for "good commands" which do not
unlink() the output file like GNU tooling does.

Our new GNU Make unveil sandboxing appears to have zero overhead
in the grand scheme of things. Full builds are pretty fast since
the only thing that's actually slowed us down is probably libcxx

    make -j16 MODE=rel
    RL: took 85,732,063µs wall time
    RL: ballooned to 323,612kb in size
    RL: needed 828,560,521µs cpu (11% kernel)
    RL: caused 39,080,670 page faults (99% memcpy)
    RL: 350,073 context switches (72% consensual)
    RL: performed 0 reads and 11,494,960 write i/o operations

pledge() and unveil() no longer consider ENOSYS to be an error.
These functions have also been added to Python's cosmo module.

This change also removes some WIN32 APIs and System Five magnums
which we're not using and it's doubtful anyone else would be too
2022-08-10 04:43:09 -07:00
..
categorizeip.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
csscolor.h Initial import 2020-06-15 07:18:57 -07:00
decodebase64.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
decodelatin1.c Make improvements 2022-04-24 10:06:05 -07:00
encodebase64.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
encodehttpheadervalue.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
encodelatin1.c Make improvements 2022-04-24 10:06:05 -07:00
encodeurl.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
escape.h Improve Lua and JSON serialization 2022-07-12 23:35:11 -07:00
escapefragment.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapehost.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapehtml.c Unbloat build config 2022-08-10 04:43:09 -07:00
escapeip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapejsstringliteral.c Unbloat build config 2022-08-10 04:43:09 -07:00
escapeparam.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapepass.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapepath.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapesegment.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapeurl.c Unbloat build config 2022-08-10 04:43:09 -07:00
escapeurlview.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
escapeuser.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
findcontenttype.c Release redbean 1.5 2021-11-15 07:39:38 -08:00
foldheader.c Make improvements 2022-04-24 10:06:05 -07:00
formathttpdatetime.c Support thread local storage 2022-05-16 13:20:08 -07:00
gethttpheader.c Change license 2020-12-27 17:18:44 -08:00
gethttpheader.gperf Add chunked transfer decoding to redbean 2021-07-05 01:05:10 -07:00
gethttpheader.inc Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
gethttpheadername.c Add chunked transfer decoding to redbean 2021-07-05 01:05:10 -07:00
gethttpmethod.c Accept table arg in redbean Fetch() API (#218) 2021-07-28 09:33:10 -07:00
gethttpmethod.gperf Have redbean show zip listing as default / handler 2021-03-29 01:22:49 -07:00
gethttpmethod.inc Improve performance of printf functions 2021-04-24 13:58:50 -07:00
gethttpreason.c Reduce number of disk seeks in redbean 2021-05-03 01:21:50 -07:00
getipcategoryname.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
hascontrolcodes.c Make improvements 2022-04-24 10:06:05 -07:00
headerhassubstring.c Merge HTTP request / response parsing code 2021-06-27 17:04:32 -07:00
http.h Trim down redbean a little bit 2022-03-21 19:32:30 -07:00
http.mk Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
indentlines.c Unbloat build config 2022-08-10 04:43:09 -07:00
ip.h Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isacceptablehost.c Loosen restriction on valid hostnames 2022-07-09 04:26:29 -07:00
isacceptablepath.c Allow .well-known/ hidden paths (#499) 2022-07-20 23:26:49 -07:00
isacceptableport.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
isafrinicip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isanonymousip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isapnicip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isarinip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isdodip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
islacnicip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isloopbackip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
ismimetype.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
ismulticastip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isprivateip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isreasonablepath.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isripeip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
istestnetip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isvalidcookievalue.c Add SetCookie method to redbean Lua (#265) 2021-09-04 02:12:12 -07:00
isvalidhttptoken.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
kescapeauthority.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
kescapefragment.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
kescapeip.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
kescapeparam.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
kescapepath.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
kescapesegment.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
khostchars.S Use Lua auto buffers when possible 2022-05-29 19:04:30 -07:00
khttpmethod.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
khttprepeatable.c Use last X-Forwarded-For header (#367) 2022-03-14 17:21:15 -07:00
khttptoken.S Improve redbean plus code size optimizations 2022-05-29 08:21:19 -07:00
parsecontentlength.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
parseforwarded.c Use last X-Forwarded-For header (#367) 2022-03-14 17:21:15 -07:00
parsehttpdatetime.c Add SetCookie method to redbean Lua (#265) 2021-09-04 02:12:12 -07:00
parsehttpmessage.c Make improvements 2022-04-24 10:06:05 -07:00
parsehttprange.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
parseip.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
parseurl.c Unbloat build config 2022-08-10 04:43:09 -07:00
unchunk.c Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
underlong.c Add Deflate() / Inflate() to redbean and fix bugs 2022-07-08 09:47:04 -07:00
url.h Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
visualizecontrolcodes.c Audit every single JSON test 2022-07-12 12:40:38 -07:00