[
https://issues.apache.org/jira/browse/CXF-8171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko resolved CXF-8171.
-------------------------------
Resolution: Fixed
> SSE Client does not support multiple data fields
> ------------------------------------------------
>
> Key: CXF-8171
> URL: https://issues.apache.org/jira/browse/CXF-8171
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.2.5, 3.3.4
> Reporter: Alexander Onnikov
> Assignee: Andriy Redko
> Priority: Minor
> Fix For: 3.4.0, 3.3.5, 3.2.12
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> According to [Server-Sent Events
> specification|https://www.w3.org/TR/eventsource/#parsing-an-event-stream]
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)