-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: taskA general taskA general task
Milestone
Description
Sola opened SPR-17306 and commented
Given the following handler snippet,
@Override
public Mono<Void> handle(WebSocketSession session) {
return session.send(Flux.error(new Throwable())
.onErrorResume(e -> session.close(CloseStatus.GOING_AWAY))
.then(Mono.empty()));
}
when using ReactorHttpServer, the Mono from session#close never emit.
!image-2018-09-27-05-12-22-853.png|thumbnail!
Affects: 5.0.9
Attachments:
- image-2018-09-27-05-12-22-853.png (121.37 kB)
Referenced from: commits 42b7c5a, b462ca2, bf4d00c, 1320fed
Backported to: 5.0.11
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: taskA general taskA general task