Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2705

Http2ServerConnection.pushResource uses the default value of MAX_HEADERS as MAX_PARAMETERS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0.Beta3
    • None
    • None

      At Http2Connection.pushResource, you will find the following line:

      Connectors.setExchangeRequestPath(exchange, path, getUndertowOptions().get(UndertowOptions.URL_CHARSET, StandardCharsets.UTF_8.name()), getUndertowOptions().get(UndertowOptions.DECODE_URL, UndertowOptions.DEFAULT_DECODE_URL), URLUtils.getSlashDecodingFlag(getUndertowOptions()), new StringBuilder(), getUndertowOptions().get(UndertowOptions.MAX_PARAMETERS, UndertowOptions.DEFAULT_MAX_HEADERS));
      

      As you can see, at the end of the line, it should not be using DEFAULT_MAX_HEADERS to configure MAX_PARAMETERS

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: