boostorg / boostorg/beast

feature request: file_body::value_type::reset() with file_size argument

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

Descrizione

Hi, thank you for the great project.

I'd like to propose simple feature, namely add `file_body::value_type::reset()` overload that takes `file_size` as an extra parameter.

This would allow saving one syscall for the cases when file size is already known in advance.

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.