Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3836

Add error handling of Stream Priority

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: HTTP/2
    • Labels:
      None

      Description

      RFC 7540 say below in 5.3.1 Stream Dependencies

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

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

      h2spec tests this.

        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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bcall Bryan Call
                Reporter:
                masaori Masaori Koshiba
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: