SUPPORT-9333. fix multipart payload parsing

This commit is contained in:
alashkova 2025-09-10 16:17:29 +03:00
parent 23d9f411d4
commit 6929ecbf56

View file

@ -118,7 +118,7 @@ on_header_value(multipart_parser* parser, const char *at, size_t length)
if (check_content_type(&data->content_type)) {
goto error;
}
} else {
} else if (data->cur_header != NULL) {
LOG_ERROR("Unknown header value: '%.*s'", (int) length, at);
goto error;
}