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

Exception in ReadListener.onDataAvailable() may cause infinite loop

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: