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

View file

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