SUPPORT-9333. fix multipart payload parsing
This commit is contained in:
parent
23d9f411d4
commit
6929ecbf56
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue