1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Ignore unknown headers in multipart file upload

https://github.com/warmcat/libwebsockets/pull/1385
This commit is contained in:
Martin Milata 2018-08-27 14:47:42 +02:00 committed by Andy Green
parent f6a3aa01c9
commit 43d0ab02e2

View file

@ -270,6 +270,7 @@ retry_as_first:
}
in++;
if (!m) {
s->state = MT_IGNORE1; // Unknown header - ignore it
s->mp = 0;
continue;
}