boostorg / boostorg/beast

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

Open
#1,243 8 comments 0 reactions 0 assignees View on GitHub
Design Feature
Dominant language
C++
Stars
4.8k
Forks
694
Avg merge
12h 48m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.