diff options
| author | Stefan Boberg <[email protected]> | 2026-01-14 10:32:37 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-14 10:32:37 +0100 |
| commit | f99a4687ff78e2823332e09d0e35cb16f361ff93 (patch) | |
| tree | 58020dafaad9e1c9664698e3d36884667cb5c465 /src/zencore/commandline.cpp | |
| parent | 5.7.16-pre2 (diff) | |
| download | zen-f99a4687ff78e2823332e09d0e35cb16f361ff93.tar.xz zen-f99a4687ff78e2823332e09d0e35cb16f361ff93.zip | |
asio/http optimizations (#449)
This change primarily introduces improved logic for dealing with sending data from file references.
This is intended to reduce the amount of memory-mapping we end up doing when sending data from files. Windows now uses `TransmitFile` to send file data more efficiently using kernel-side I/O, but Linux/Mac basically behaves as before since they don't offer any true async file I/O support via asio. This should be implemented separately using a background I/O thread pool.
This PR also includes improved memory management for http/asio with reduced allocation counts, and a fix for a potential use-after-free in very high load scenarios.
Diffstat (limited to 'src/zencore/commandline.cpp')
0 files changed, 0 insertions, 0 deletions