mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
spa: parser should tolerate additional headers
This commit is contained in:
parent
112480b570
commit
61a94f5f83
1 changed files with 2 additions and 2 deletions
|
@ -439,11 +439,11 @@ done:
|
|||
case MT_IGNORE3:
|
||||
if (*in == '\x0d')
|
||||
s->state = MT_IGNORE1;
|
||||
if (*in == '-') {
|
||||
else if (*in == '-') {
|
||||
s->state = MT_COMPLETED;
|
||||
s->wsi->http.rx_content_remain = 0;
|
||||
}
|
||||
in++;
|
||||
else in++;
|
||||
break;
|
||||
case MT_COMPLETED:
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue