mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd::server: Relax assertion on non-dynamic contiguous chunk head read.
This commit is contained in:
parent
44f587714e
commit
427f481ce9
1 changed files with 1 additions and 1 deletions
|
@ -3379,7 +3379,7 @@ ircd::server::tag::read_chunk_head(const const_buffer &buffer,
|
||||||
content + state.content_length, beyond_head_length
|
content + state.content_length, beyond_head_length
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(!empty(target));
|
assert(!empty(target) || !beyond_head);
|
||||||
move(target, beyond_head);
|
move(target, beyond_head);
|
||||||
|
|
||||||
// Increment the content_length to now include this chunk
|
// Increment the content_length to now include this chunk
|
||||||
|
|
Loading…
Reference in a new issue