http::write_some_file_body, http::async_write_some_file_body
Open
Design
- Dominant language
- C++
- Stars
- 4.8k
- Forks
- 694
- Avg merge
- 12h 48m
- Merged PRs (30d)
- 1
Description
We need dedicated interface like `async_write_some_file` which calls the natively-enhanced algorithms (such as using `::TransmitFile` on Windows, or `::sendfile` on POSIX). This will eliminate users' uncertainty of whether or not the enhanced algorithm will be used. These functions guarantee the algorithms will be used, unless the native enhancement is not available on the target platform.
Contributor guide
Assessment
This issue has not been assessed yet.