cosmopolitan/net/http
Justine Tunney 8ff48201ca
Rewrite .zip.o file linker
This change takes an entirely new approach to the incremental linking of
pkzip executables. The assets created by zipobj.com are now treated like
debug data. After a .com.dbg is compiled, fixupobj.com should be run, so
it can apply fixups to the offsets and move the zip directory to the end
of the file. Since debug data doesn't get objcopy'd, a new tool has been
introduced called zipcopy.com which should be run after objcopy whenever
a .com file is created. This is all automated by the `cosmocc` toolchain
which is rapidly becoming the new recommended approach.

This change also introduces the new C23 checked arithmetic macros.
2023-06-10 09:29:44 -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 important improvements 2022-09-14 22:39:08 -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 the build 2022-08-11 00:15:29 -07:00
escapeip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
escapejsstringliteral.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -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 the build 2022-08-11 00:15:29 -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 Serve .mjs files as text/javascript (#761) 2023-03-05 14:26:18 -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 Make HTTP message parsing a little faster 2022-10-04 06:37:46 -07:00
gethttpheader.inc Make HTTP message parsing a little faster 2022-10-04 06:37:46 -07:00
gethttpheadername.c Make HTTP message parsing a little faster 2022-10-04 06:37:46 -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 Make important improvements 2022-09-14 22:39:08 -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 Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
headerhassubstring.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
http.h Make improvements 2022-11-07 02:26:06 -08:00
http.mk Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
indentlines.c Unbloat the build 2022-08-11 00:15:29 -07:00
ip.h Make improvements 2022-11-07 02:26:06 -08:00
isacceptablehost.c Loosen restriction on valid hostnames 2022-07-09 04:26:29 -07:00
isacceptablepath.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -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
iscloudflare.c Perform some code cleanup 2022-10-04 23:32:16 -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
ismimetype.c Make important improvements 2022-09-14 22:39:08 -07:00
ismulticastip.c Add /statusz page to redbean plus other enhancements 2021-04-23 18:53:57 -07:00
isnocompressext.c Make fixes and improvements 2022-10-19 07:19:19 -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 Make some more fixes to prod 2022-10-19 13:10:24 -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.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
kescapefragment.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
kescapeip.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
kescapeparam.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
kescapepath.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
kescapesegment.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
khostchars.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -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.c Get MbedTLS and its unit tests passing AARCH64 2023-05-11 21:53:15 -07:00
parsecidr.c Make improvements 2022-11-07 02:26:06 -08:00
parsecontentlength.c Make more major improvements to redbean 2021-04-20 19:14:21 -07:00
parseforwarded.c Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
parsehttpdatetime.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
parsehttpmessage.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
parsehttprange.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
parseip.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
parseurl.c doc: remove "everything everything" from ParseUrl doc (#704) 2023-02-23 09:34:48 -08:00
tokenbucket.c Make more threading improvements 2022-11-01 23:28:26 -07:00
tokenbucket.h Elevate Windows production worthiness 2022-10-13 13:44:41 -07:00
unchunk.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
underlong.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
url.h Improve redbean method=get parameter handling 2022-09-19 20:04:39 -07:00
visualizecontrolcodes.c Pay off more technical debt 2022-09-12 23:36:56 -07:00