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:
parent
f6a3aa01c9
commit
43d0ab02e2
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