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

IOException thrown when trying to close already closed stream

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.3.1.Final, 2.2.22.Final
    • 2.3.0.Final
    • None
    • None

    Description

      Hello,

      When running performance test towards Undertow (using "h2load" as a client) I have noticed that all exchanges ends with an exception:

       

      If I understand correctly the problem is caused by the method  HttpServerExchange.DefaultBlockingHttpExchange.getInputStream() which tries to create a new UndertowInputStream even for an exchange which has already completed:

       

       

      I can workaround the problem by adding null checks in the HttpServerExchange.DefaultBlockingHttpExchange.close() method:

       

      Maybe there is a better way to do this?

      Thanks, Gunnar

       

      Attachments

        Activity

          People

            rhn-support-rmartinc Ricardo Martin Camarero
            gunnarlindroth GUNNAR LINDROTH
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: