mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
Lsm
PUBLISHED_FROM=18d9d1e6411db84788c527d1c34ad2adc846df00
This commit is contained in:
1 parent
19acf23c49
commit
b6196371bb
2 files changed
+2
No files matched your search
@@ -6590,6 +6590,7 @@ void mg_http_handler(struct mg_connection *nc, int ev,
|
|||||||
struct mg_http_multipart_part mp;
|
struct mg_http_multipart_part mp;
|
||||||
memset(&mp, 0, sizeof(mp));
|
memset(&mp, 0, sizeof(mp));
|
||||||
mp.status = -1;
|
mp.status = -1;
|
||||||
|
mp.user_data = pd->mp_stream.user_data;
|
||||||
mp.var_name = pd->mp_stream.var_name;
|
mp.var_name = pd->mp_stream.var_name;
|
||||||
mp.file_name = pd->mp_stream.file_name;
|
mp.file_name = pd->mp_stream.file_name;
|
||||||
mg_call(nc, (pd->endpoint_handler ? pd->endpoint_handler : nc->handler),
|
mg_call(nc, (pd->endpoint_handler ? pd->endpoint_handler : nc->handler),
|
||||||
|
|||||||
@@ -756,6 +756,7 @@ void mg_http_handler(struct mg_connection *nc, int ev,
|
|||||||
struct mg_http_multipart_part mp;
|
struct mg_http_multipart_part mp;
|
||||||
memset(&mp, 0, sizeof(mp));
|
memset(&mp, 0, sizeof(mp));
|
||||||
mp.status = -1;
|
mp.status = -1;
|
||||||
|
mp.user_data = pd->mp_stream.user_data;
|
||||||
mp.var_name = pd->mp_stream.var_name;
|
mp.var_name = pd->mp_stream.var_name;
|
||||||
mp.file_name = pd->mp_stream.file_name;
|
mp.file_name = pd->mp_stream.file_name;
|
||||||
mg_call(nc, (pd->endpoint_handler ? pd->endpoint_handler : nc->handler),
|
mg_call(nc, (pd->endpoint_handler ? pd->endpoint_handler : nc->handler),
|
||||||
|
|||||||
Reference in new issue
Block a user