0
0
Fork 0
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:
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 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