Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
http: change otherwise rule
  • Loading branch information
ShogunPanda committed May 6, 2022
commit b5cbebb78ddf4e97fdb505092f080a20c5538200
2 changes: 1 addition & 1 deletion src/llhttp/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ export class HTTP {
HEADER_STATE.TRANSFER_ENCODING_CHUNKED,
'header_value_otherwise'))
.peek(',', forbidAfterChunkedInRequest(n('header_value_te_chunked')))
.otherwise(n('header_value_te_chunked'));
.otherwise(n('header_value_te_token'));

n('header_value_te_token')
.match(',', n('header_value_te_token_ows'))
Expand Down