Skip to content

Commit 3c70aef

Browse files
Remove egacy code from h1 version
There is no sence to check `crlf` for http2, just match alphabet.
1 parent 2e3e1a7 commit 3c70aef

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

fw/http_parser.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8673,10 +8673,7 @@ do { \
86738673
parser->_acc = 0;
86748674
/* Skip the rest of the line. */
86758675
__FSM_H2_I_MATCH_MOVE(nctl, I_EoL);
8676-
if (!IS_CRLF(*(p + __fsm_sz)))
8677-
return CSTR_NEQ;
8678-
T_DBG3("%s: parsed date %lu", __func__, parser->_date);
8679-
return __data_off(p + __fsm_sz);
8676+
return CSTR_NEQ;
86808677
}
86818678

86828679
done:

0 commit comments

Comments
 (0)