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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.30.Final, 2.1.3.Final
    • Fix Version/s: None
    • Component/s: Core

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  flavia.rainone Flavia Rainone
                  Reporter:
                  mmiura Masafumi Miura
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: