0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::server: Relax assertion on non-dynamic contiguous chunk head read.

This commit is contained in:
Jason Volk 2020-03-07 22:33:41 -08:00
parent 44f587714e
commit 427f481ce9

View file

@ -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