0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-01 02:14:13 +01:00

ircd::server: Relax assertion.

This commit is contained in:
Jason Volk 2019-11-30 14:22:25 -08:00
parent 41545edef2
commit c4cadd3642

View file

@ -3673,8 +3673,8 @@ const
assert(request);
assert(state.head_read <= size(request->in.head));
assert(state.content_read <= state.content_length + state.chunk_read);
assert(state.content_read <= state.content_length || chunk_dynamic_header_mode);
assert(state.content_read <= state.content_length + state.chunk_read || chunk_header_mode);
assert(state.content_read <= state.content_length || chunk_header_mode);
if(state.status == (http::code)0)
return make_read_head_buffer();