PUBLISHED_FROM=18d9d1e6411db84788c527d1c34ad2adc846df00
This commit is contained in:
Sergey Lyubka
2019-06-26 10:33:24 +00:00
committed by Cesanta Bot
parent 19acf23c49
commit b6196371bb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -756,6 +756,7 @@ void mg_http_handler(struct mg_connection *nc, int ev,
struct mg_http_multipart_part mp;
memset(&mp, 0, sizeof(mp));
mp.status = -1;
mp.user_data = pd->mp_stream.user_data;
mp.var_name = pd->mp_stream.var_name;
mp.file_name = pd->mp_stream.file_name;
mg_call(nc, (pd->endpoint_handler ? pd->endpoint_handler : nc->handler),