Displaying 1 result from an estimated 1 matches for "mbox_verify_end_of_body".
2003 Apr 21
0
Patch for zero content-length
...2003
***************
*** 264,277 ****
start_offset = ctx->input->v_offset;
i_stream_set_read_limit(ctx->input, 0);
! end_offset = start_offset + ctx->content_length;
! if (ctx->content_length == 0 ||
!mbox_verify_end_of_body(ctx->input, end_offset)) {
! if (ctx->content_length != 0)
i_stream_seek(ctx->input, start_offset);
mbox_skip_message(ctx->input);
end_offset = ctx->input->v_offset;...