cosmopolitan/tool/net
Justine Tunney 6ffed14b9c
Rewrite memory manager
Actually Portable Executable now supports Android. Cosmo's old mmap code
required a 47 bit address space. The new implementation is very agnostic
and supports both smaller address spaces (e.g. embedded) and even modern
56-bit PML5T paging for x86 which finally came true on Zen4 Threadripper

Cosmopolitan no longer requires UNIX systems to observe the Windows 64kb
granularity; i.e. sysconf(_SC_PAGE_SIZE) will now report the host native
page size. This fixes a longstanding POSIX conformance issue, concerning
file mappings that overlap the end of file. Other aspects of conformance
have been improved too, such as the subtleties of address assignment and
and the various subtleties surrounding MAP_FIXED and MAP_FIXED_NOREPLACE

On Windows, mappings larger than 100 megabytes won't be broken down into
thousands of independent 64kb mappings. Support for MAP_STACK is removed
by this change; please use NewCosmoStack() instead.

Stack overflow avoidance is now being implemented using the POSIX thread
APIs. Please use GetStackBottom() and GetStackAddr(), instead of the old
error-prone GetStackAddr() and HaveStackMemory() APIs which are removed.
2024-06-22 05:45:11 -07:00
..
demo Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
tiny Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
.init.lua Add SSL to redbean 2021-06-24 13:20:50 -07:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
counters.inc Make fixes and improvements 2022-10-19 07:19:19 -07:00
definitions.lua [Redbean] Add UuidV4 method (#1140) 2024-04-12 11:10:27 -04:00
dig.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
echo.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
favicon.ico Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
fetch.inc Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
getadaptersaddresses.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
help.txt Fix wrong parameter type in redbean documentation (#1162) 2024-04-29 20:09:25 -04:00
largon2.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
launch.c Support any HTTP method 2024-02-22 14:12:18 -08:00
lfinger.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lfinger.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lfuncs.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
lfuncs.h [Redbean] Add UuidV4 method (#1140) 2024-04-12 11:10:27 -04:00
libresolv_query.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ljson.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
ljson.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lmaxmind.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lpath.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lpath.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lre.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lsqlite3.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
luacheck.h Reduce header complexity 2023-11-28 14:39:42 -08:00
redbean-original.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean-static.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean-unsecure.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
redbean.png Make improvements 2020-09-14 00:02:34 -07:00
sandbox.h Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
winbench.c Use DNS implementation from Musl Libc 2023-12-28 23:04:35 -08:00