mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +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
|
||||
};
|
||||
|
||||
assert(!empty(target));
|
||||
assert(!empty(target) || !beyond_head);
|
||||
move(target, beyond_head);
|
||||
|
||||
// Increment the content_length to now include this chunk
|
||||
|
|
Loading…
Reference in a new issue