mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::server: Limit the cancelled head size to copy.
This commit is contained in:
parent
d3e1997d43
commit
749647bb89
1 changed files with 1 additions and 1 deletions
|
@ -2999,7 +2999,7 @@ noexcept
|
|||
const const_buffer src
|
||||
{
|
||||
data(request.in.head) + tag.state.head_read,
|
||||
tag.state.chunk_read
|
||||
std::min(tag.state.chunk_read, tag.state.head_rem),
|
||||
};
|
||||
|
||||
const mutable_buffer dst
|
||||
|
|
Loading…
Reference in a new issue