[
https://issues.apache.org/jira/browse/TS-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065975#comment-15065975
]
ASF GitHub Bot commented on TS-3967:
------------------------------------
Github user masaori335 commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/389#discussion_r48111940
--- Diff: proxy/http2/HTTP2.cc ---
@@ -665,11 +666,19 @@ http2_decode_header_blocks(HTTPHdr *hdr, const
uint8_t *buf_start, const uint8_t
}
}
+ // turn on that we have a trailer header
+ char trailer_name[] = "trailer";
+ if (name_len == (sizeof(trailer_name) - 1) && strncmp(name,
trailer_name, sizeof(trailer_name) - 1) == 0) {
+ trailing_header = true;
--- End diff --
`is_trailing_header` ? It looks like `trailing_header` is not used in below
code.
> Set stream state to close after a RST_STEAM has been sent
> ---------------------------------------------------------
>
> Key: TS-3967
> URL: https://issues.apache.org/jira/browse/TS-3967
> Project: Traffic Server
> Issue Type: Improvement
> Components: HTTP/2
> Reporter: Bryan Call
> Assignee: Bryan Call
> Fix For: 6.1.0
>
> Attachments: ts-3967-2.diff, ts-3967.diff
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)