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

Servlet 3.1 ReadListener/ServletInputStreamImpl are not threadsafe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: