Masaori Koshiba created TS-3836:
-----------------------------------

             Summary: Add error handling of Stream Priority
                 Key: TS-3836
                 URL: https://issues.apache.org/jira/browse/TS-3836
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP/2
            Reporter: Masaori Koshiba


[RFC 7540|https://httpwg.github.io/specs/rfc7540.html#StreamPriority] say below.

{quote}
A stream cannot depend on itself. An endpoint MUST treat this as a stream error 
(Section 5.4.2) of type PROTOCOL_ERROR.
{quote}

Stream Priority Feature is not implemented yet. (TS-3535)
But we must add error handling for this.

This covers a test for 5.3.1 of h2spec.
```
  5.3. Stream Priority
    5.3.1. Stream Dependencies
      × Sends HEADERS frame that depend on itself
        - The endpoint MUST treat this as a stream error of type PROTOCOL_ERROR
          Expected: GOAWAY frame (ErrorCode: PROTOCOL_ERROR)
                    RST_STREAM frame (ErrorCode: PROTOCOL_ERROR)
                    Connection close
            Actual: DATA frame (Length: 5895, Flags: 1)
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to