boostorg / boostorg/beast

http::write_some_file_body, http::async_write_some_file_body

Aperta
#1,390 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Design
Lingua principale
C++
Stelle
4.8k
Fork
694
Merge medio
12h 48m
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.