Skip to content

Commit 8efcf7b

Browse files
author
Dennis Labordus
committed
Removed closes, not needed, client should close.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 7942d80 commit 8efcf7b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

app/src/main/java/org/lfenergy/compas/scl/validator/rest/v1/SclValidatorServerEndpoint.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public void onMessage(Session session, SclValidateRequest request, @PathParam(TY
5454
@OnError
5555
public void onError(Session session, @PathParam(TYPE_PATH_PARAM) String type, Throwable throwable) throws IOException {
5656
LOGGER.warn("Error with session {} for type {}.", session.getId(), type, throwable);
57-
session.close();
5857
}
5958

6059
@OnClose

app/src/main/java/org/lfenergy/compas/scl/validator/rest/v1/event/SclValidatorEventHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public void validateWebsocketsEvent(SclValidatorEventRequest request) throws IOE
3131

3232
var session = request.getSession();
3333
session.getAsyncRemote().sendObject(response);
34-
session.close();
3534
}
3635

3736
@ConsumeEvent(value = "validate-rest", blocking = true)

0 commit comments

Comments
 (0)