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

Servlet 3.1 ReadListener/ServletInputStreamImpl are not threadsafe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1, 1.4.17.Final
    • 1.4.16.Final
    • Servlet
    • None
    • Hide

      Run any ReadListener implementation on a separate thread from the one which invokes onDataAvailable.

      Broken test to expose the issue here: https://github.com/undertow-io/undertow/pull/529

      Show
      Run any ReadListener implementation on a separate thread from the one which invokes onDataAvailable. Broken test to expose the issue here: https://github.com/undertow-io/undertow/pull/529

      When a Servlet 3.1 ReadListener executes outside of the IO thread, it causes hangs until the async timeout is reached in some cases, and exceptions in others.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              carterkozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: