You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2019/12/05 14:34:00 UTC
[jira] [Resolved] (CXF-8171) SSE Client does not support multiple
data fields
[ 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)