-
Bug
-
Resolution: Done
-
Major
-
4.7.2.Final
-
None
When the server side sends an SSE event. wait for its delivery and then directly closes the sink. It is still possible that the message gets lost on the client side:
In code it looks like this:
sink.send(sse.newEvent("last-msg")).thenAccept(v -> sink.close());
It is as if the CompletionStage of sink.send completes just a little too early, and it is still possible to close the sink while the last message is on its way.
With the test to reproduce RESTEASY-3033 we found 2 other issues, this is one of them. the other is RESTEASY-3044.
- is incorporated by
-
WFLY-15801 Upgrade RESTEasy to 4.7.4.Final
- Closed
- relates to
-
RESTEASY-3033 Deadlock while sending sse events when first event is not yet send
- Resolved