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

Ignore unknown headers in multipart file upload

This commit is contained in:
Martin Milata 2018-08-27 14:47:42 +02:00 committed by Andy Green
parent 9d51d8e702
commit 2950cf14bb

View file

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