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:
parent
9d51d8e702
commit
2950cf14bb
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ retry_as_first:
|
|||
}
|
||||
in++;
|
||||
if (!m) {
|
||||
s->state = MT_IGNORE1; // Unknown header - ignore it
|
||||
s->mp = 0;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue