Skip to content

Commit 576227a

Browse files
committed
Vert.x: do not disable websockets extensions init if websockets-next is
present - there's an optimization introduced in #31715 that disables WebSockets extensions initialization if the legacy quarkus-websocket is not present, it should be quarkus-websocket && quarkus-websocket-next - fixes #53159
1 parent 00810cc commit 576227a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/VertxHttpProcessor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,9 @@ void openSocket(ApplicationStartBuildItem start,
561561
eventLoopCount.getEventLoopCount(),
562562
websocketSubProtocols.stream().map(bi -> bi.getWebsocketSubProtocols())
563563
.collect(Collectors.toList()),
564-
launchMode.isAuxiliaryApplication(), !capabilities.isPresent(Capability.VERTX_WEBSOCKETS));
564+
launchMode.isAuxiliaryApplication(),
565+
!capabilities.isPresent(Capability.VERTX_WEBSOCKETS)
566+
&& !capabilities.isPresent(Capability.WEBSOCKETS_NEXT));
565567
}
566568

567569
@BuildStep

0 commit comments

Comments
 (0)