mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 20:28:52 +02:00
ircd::server: Relax assertion.
This commit is contained in:
parent
75abe2b0f9
commit
5bb98356e0
1 changed files with 2 additions and 1 deletions
|
@ -3459,7 +3459,8 @@ const
|
|||
|
||||
assert(request);
|
||||
assert(state.head_read <= size(request->in.head));
|
||||
assert(state.content_read <= state.content_length);
|
||||
assert(state.content_read <= state.content_length + state.chunk_read);
|
||||
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