forked from boostorg/beast
file_body buffer size can be configured.
This commit is contained in:
1 parent
99bceb5bff
commit
4ff4c79d5b
4 files changed
+17
-6
No files matched your search
@@ -124,9 +124,9 @@ struct basic_file_body<file_win32>
|
||||
basic_file_body<file_win32>, Fields>& sr,
|
||||
error_code& ec);
|
||||
|
||||
value_type& body_; // The body we are reading from
|
||||
std::uint64_t pos_; // The current position in the file
|
||||
char buf_[4096]; // Small buffer for reading
|
||||
value_type& body_; // The body we are reading from
|
||||
std::uint64_t pos_; // The current position in the file
|
||||
char buf_[BOOST_BEAST_FILE_BUFFER_SIZE]; // Small buffer for reading
|
||||
|
||||
public:
|
||||
using const_buffers_type =
|
||||
|
||||
Reference in new issue
Block a user