Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: abd10deae2a2e3cf04433878ed3606cf46ff7a98
https://github.com/resteasy/Resteasy/commit/abd10deae2a2e3cf04433878ed360...
Author: NicoNes <nicolas.nesmon(a)gmail.com>
Date: 2018-07-10 (Tue, 10 Jul 2018)
Changed paths:
M
resteasy-client/src/main/java/org/jboss/resteasy/plugins/providers/sse/client/SseEventSourceImpl.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/sse/SseEventSourceTest.java
Log Message:
-----------
[RESTEASY-1950] OnComplete callback registered via SseEventSource.register() must be
called only once (#1599)
* Remove @Category(ExpectedFailing.class) on test that is supposed to pass.
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>
* Add internalClose() to close SseEventSource and invoke completion handlers
when there are further events to be received.
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>
* Code cleaning to improve lisibility
Signed-off-by: NicoNes <nicolas.nesmon(a)gmail.com>
**NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from
GitHub.com on January 31st, 2019.