Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8171

SSE Client does not support multiple data fields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5, 3.3.4
    • Fix Version/s: 3.4.0, 3.3.5, 3.2.12
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      According to Server-Sent Events specification events may contain multiple data fields. In this case the client should concatenate all data field values with U+000A LINE FEED (LF) character.

      Current SSE client implementation keeps only latest line.

       

      I provided PR with test case that demonstrates the issue and fix.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                reta Andriy Redko
                Reporter:
                Alexander.Onnikov Alexander Onnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m