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

Servlet 3.1 WriteListener causes incorrect data

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: