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:
parent
41545edef2
commit
c4cadd3642
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue