tyrus
  1. tyrus
  2. TYRUS-199

ServletOutputStream is used in a thread unsafe manner

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      Description

      ServletOuputStream is not thread-safe, it shouldn't be used from multiple threads concurrently. Servlet container's ConnectionImpl is being used from multiple threads to write websocket messages.

        Activity

        Hide
        Pavel Bucek added a comment -

        do you have any simple testcase?

        Show
        Pavel Bucek added a comment - do you have any simple testcase?
        Hide
        stepan.kopriva added a comment -

        OutputStream is synchronized. AsyncTests (deployed on Glassfish) are testing this.

        Show
        stepan.kopriva added a comment - OutputStream is synchronized. AsyncTests (deployed on Glassfish) are testing this.

          People

          • Assignee:
            Pavel Bucek
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: