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

Exception in ReadListener.onDataAvailable() may cause infinite loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta21
    • None
    • None
    • None

    Description

      If an exception comes out of ReadListener.onDataAvailable() before the input stream is fully read, Undertow calls onDataAvailable() repeatedly.

      If e.g. the connection is closed prematurely this may lead into an infinite loop.

      https://github.com/mkouba/wildfly/commit/702cfefdd96ffd5c7debdce8b3e65a9daadfaeac#diff-42a628182001385ff40dc34acd258289R49

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: