mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Really revert 4880069
This commit is contained in:
1 parent
fee2980d95
commit
d22ff2fce7
2 files changed
+6
-2
No files matched your search
+3
-1
@@ -6859,7 +6859,7 @@ static int mg_http_multipart_continue_wait_for_chunk(struct mg_connection *c) {
|
||||
mbuf_remove(io, consumed);
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
} else if (boundary != NULL) {
|
||||
size_t data_len = ((size_t)(boundary - io->buf) - 4);
|
||||
size_t consumed = mg_http_multipart_call_handler(c, MG_EV_HTTP_PART_DATA,
|
||||
io->buf, data_len);
|
||||
@@ -6871,6 +6871,8 @@ static int mg_http_multipart_continue_wait_for_chunk(struct mg_connection *c) {
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user