mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
spa: file upload fix
This commit is contained in:
parent
5a8f790870
commit
ee2e4074e4
1 changed files with 3 additions and 3 deletions
|
@ -438,12 +438,12 @@ done:
|
|||
|
||||
case MT_IGNORE3:
|
||||
if (*in == '\x0d')
|
||||
s->state = MT_IGNORE1;
|
||||
else if (*in == '-') {
|
||||
s->state = MT_IGNORE2;
|
||||
if (*in == '-') {
|
||||
s->state = MT_COMPLETED;
|
||||
s->wsi->http.rx_content_remain = 0;
|
||||
}
|
||||
else in++;
|
||||
in++;
|
||||
break;
|
||||
case MT_COMPLETED:
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue