1
0
Fork 0
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:
Marco Gratzke 2022-07-04 14:20:44 +01:00 committed by Andy Green
parent 5a8f790870
commit ee2e4074e4

View file

@ -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;