Skip to content

Commit 8c6c0d6

Browse files
committed
Use proper priority to deploy Vert.x Filter used for legacy websockets
We should never use the same priority value that Authorization or Authentication use as that can cause problems to other extensions - Fixes: #48812
1 parent 8fab080 commit 8c6c0d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/websockets/server/deployment/src/main/java/io/quarkus/websockets/deployment/ServerWebSocketProcessor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,11 @@ public FilterBuildItem deploy(final CombinedIndexBuildItem indexBuildItem,
110110
final IndexView index = indexBuildItem.getIndex();
111111
WebsocketClientProcessor.registerCodersForReflection(reflection, index.getAnnotations(SERVER_ENDPOINT));
112112

113+
int priority = 1 + FilterBuildItem.AUTHORIZATION;
113114
return new FilterBuildItem(
114115
recorder.createHandler(webSocketDeploymentInfoBuildItem.get().getInfo(),
115116
serverWebSocketContainerBuildItem.get().getContainer()),
116-
100);
117+
priority);
117118
}
118119

119120
@BuildStep

0 commit comments

Comments
 (0)