mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-03 19:13:43 +02:00
Merge 117dc1e3f5
into f4053c8af3
This commit is contained in:
commit
4e507c27a4
1 changed files with 7 additions and 0 deletions
|
@ -1379,6 +1379,13 @@ reexecute:
|
|||
parser->header_state = h_general;
|
||||
} else if (parser->index == sizeof(TRANSFER_ENCODING)-2) {
|
||||
parser->header_state = h_transfer_encoding;
|
||||
|
||||
/* Multiple `Transfer-Encoding` headers should be treated as
|
||||
* one, but with values separate by a comma.
|
||||
*
|
||||
* See: https://tools.ietf.org/html/rfc7230#section-3.2.2
|
||||
*/
|
||||
parser->flags &= ~F_CHUNKED;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue