[
https://issues.apache.org/jira/browse/TS-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650313#comment-14650313
]
ASF GitHub Bot commented on TS-3497:
------------------------------------
GitHub user maskit opened a pull request:
https://github.com/apache/trafficserver/pull/267
TS-3497: Define Http2Error to classify errors
HTTP/2 has two classes of error, connection error and stream error, defined
on the section 5.4.
Current implementation doesn't treat them not so well, so I'd like to add a
structure `Http2Error` to classify errors.
As a result, malformed requests will be treated as stream error.
https://issues.apache.org/jira/browse/TS-3497
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maskit/trafficserver ts-3497
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/267.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #267
----
commit baed1df9db3f285f62ccc122d8997d274dc2e01d
Author: Masakazu Kitajo <[email protected]>
Date: 2015-07-31T17:25:09Z
TS-3497: Define Http2Error to classify errors
----
> Malformed requests must be treated as a stream error
> ----------------------------------------------------
>
> Key: TS-3497
> URL: https://issues.apache.org/jira/browse/TS-3497
> Project: Traffic Server
> Issue Type: Improvement
> Components: HTTP/2
> Reporter: Masakazu Kitajo
> Assignee: Masakazu Kitajo
> Fix For: 6.1.0
>
>
> Malformed requests must be treated as a stream error, but currently it's
> treated as a connection error.
> {quote}
> Malformed requests or responses that are detected MUST be treated as a stream
> error (Section 5.4.2) of type PROTOCOL_ERROR.
> {quote}
> https://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-8.1.2.6
> I found this behavior with these requests:
> - Uppercase header field names
> - Empty :path header
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)