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

Servlet 3.1 WriteListener causes incorrect data

    XMLWordPrintable

Details

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

    Description

      Using a WriteListener in combination with ServletOutputStream.write from a non-io thread produces incorrect response data.

      Seems to be a thread safety issue between writes in flushBufferAsync and WriteChannelListener.handleEvent.

      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: