Skip to content

Commit 860e56e

Browse files
committed
Fix minor issue in WebSocketHttpRequestHandler
Issue: SPR-10721
1 parent aa6f304 commit 860e56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public WebSocketHttpRequestHandler( WebSocketHandler webSocketHandler, Handshake
6565
Assert.notNull(webSocketHandler, "webSocketHandler must not be null");
6666
Assert.notNull(handshakeHandler, "handshakeHandler must not be null");
6767
this.webSocketHandler = decorateWebSocketHandler(webSocketHandler);
68-
this.handshakeHandler = new DefaultHandshakeHandler();
68+
this.handshakeHandler = handshakeHandler;
6969
}
7070

7171

0 commit comments

Comments
 (0)