Description

I used get_body_part_by_filter to extract a body part from a multipart/mixed message. It works as expected but for every body part it compares and do not match (until finding the one that matches the filter) it shows error log messages like:

ERROR: <core> [core/parser/parse_body.c:513]: part_multipart_headers_cmp(): part_multipart_headers_cmp. error. "-2". "MIME types mismatch".

The comparison of body parts shouldn´t be logged as errors, since they are not.

Expected behavior

No error logs.

Actual observed behavior

Error log messages.

Log Messages

ERROR: <core> [core/parser/parse_body.c:513]: part_multipart_headers_cmp(): part_multipart_headers_cmp. error. "-2". "MIME types mismatch".

Possible Solutions

Do not show logs or change log level.

Additional Information

5.1
CentOS 7


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.