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

Padded DATA frames lead to PROTOCOL_ERROR

    XMLWordPrintableJSON

    Details

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

      Description

      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:

      $ nghttp -v --padding=123 -d foo http://localhost:8080/
      

        Attachments

          Activity

            People

            • Assignee:
              masaori Masaori Koshiba
              Reporter:
              maskit Masakazu Kitajo
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: