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

ExchangeCompletionListener is not invoked for HTTP/2 POST request on HTTP Upgrade based connection

    XMLWordPrintable

Details

    Description

      ExchangeCompletionListener is not invoked for HTTP/2 POST request on HTTP Upgrade based connection. So, AccessLogHandler or RequestDumpingHandler does not work.

      ExchangeCompletionListener is triggered after both HttpServerExchange#terminateRequest() and HttpServerExchange#terminateResponse() are invoked. However, HttpServerExchange#terminateRequest() is never invoked for HTTP/2 POST request on HTTP Upgrade based connection.

      This issue does not happen for HTTP/2 request through TLS ALPN, or HTTP/2 GET request on HTTP Upgrade based connection.

      Because, HttpServerExchange#terminateRequest() is invoked at here for HTTP/2 request through TLS ALPN. Also, it's invoked at here for HTTP/2 GET request on HTTP Upgrade based connection.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              rhn-support-mmiura Masafumi Miura
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: