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

Accept empty header field value

    XMLWordPrintableJSON

    Details

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

      Description

      TS sends back a GOAWAY frame with COMPRESSION_ERROR if a request header field have empty value.

      If I understand correctly, empty header value is allowed except pseudo-headers.

      header-field = field-name ":" OWS field-value OWS
      field-name = token
      field-value = *( field-content / obs-fold )

      http://tools.ietf.org/html/rfc7230#section-3.2

      :path pseudo-header has a limitation.

      This pseudo-header field MUST NOT be empty for "http" or "https"
      URIs; "http" or "https" URIs that do not contain a path component
      MUST include a value of '/'.

      https://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-8.1.2.3

        Attachments

        1. TS-3495.patch
          2 kB
          Masakazu Kitajo

          Activity

            People

            • Assignee:
              maskit Masakazu Kitajo
              Reporter:
              maskit Masakazu Kitajo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: