Skip to content

Commit

Permalink
Fixed a typo. As in other places, use 2^14 here
Browse files Browse the repository at this point in the history
  • Loading branch information
jfm committed Dec 7, 2023
1 parent ffdb141 commit 3c40c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/http_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ namespace crow
size_t length = res.body.length();
for(size_t transferred = 0; transferred < length;)
{
size_t to_transfer = std::min(16385UL, length-transferred);
size_t to_transfer = std::min(16384UL, length-transferred);
buffers[0] = asio::const_buffer(data+transferred, to_transfer);
do_write_sync(buffers);
transferred += to_transfer;
Expand Down

0 comments on commit 3c40c04

Please sign in to comment.