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

Thread safety concerns in conduit implementations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Core
    • None

    Description

      There are several non-volatile fields in undertow conduit implementations which are accessed by multiple threads.

      Example conduits: DeflatingStreamSinkConduit, AbstractFramedStreamSinkConduit, AbstractFixedLengthStreamSinkConduit, etc.

      While debugging in a servlet environment using 3.1 asynchronous writes, the conduit is used by both worker and IO threads which unless I'm misinterpreting the code can interact in unexpected ways with the jit.

      Attachments

        Activity

          People

            rhn-cservice-bbaranow Bartosz Baranowski
            carterkozak Carter Kozak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: