You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Phil Sorber (JIRA)" <ji...@apache.org> on 2015/09/15 04:20:47 UTC
[jira] [Updated] (TS-3799) Padded DATA frames lead to
PROTOCOL_ERROR
[ https://issues.apache.org/jira/browse/TS-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Sorber updated TS-3799:
----------------------------
Backport to Version: 5.3.3
> Padded DATA frames lead to PROTOCOL_ERROR
> -----------------------------------------
>
> Key: TS-3799
> URL: https://issues.apache.org/jira/browse/TS-3799
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP/2
> Affects Versions: 5.3.0, 6.0.0
> Reporter: Masakazu Kitajo
> Assignee: Masaori Koshiba
> Labels: review
> Fix For: 6.0.0
>
>
> Padded DATA frames lead to PROTOCOL_ERROR because of wrong data size calculation.
> https://github.com/apache/trafficserver/blob/6.0.x/proxy/http2/Http2ConnectionState.cc#L88
> The size should be sum of real data sizes without padding but not payload sizes.
> How to reproduce:
> {noformat}
> $ nghttp -v --padding=123 -d foo http://localhost:8080/
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)