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