Cannot send partial message with #34088
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: waiting-for-triage
An issue we've not yet triaged or decided on
As we can see in the code snippet below, it is not possible to send
TextMessage
whereisLast
is set to false.spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketSession.java
Lines 218 to 220 in 43ff6d9
spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/TextMessage.java
Lines 62 to 65 in 43ff6d9
However, the API exists in Jetty, in the form of
Session#sendPartialText(String, boolean, Callable)
. Is there any reason for not using it?https://github.com/jetty/jetty.project/blob/jetty-12.0.x/jetty-core/jetty-websocket/jetty-websocket-jetty-api/src/main/java/org/eclipse/jetty/websocket/api/Session.java#L99-L110
From basic testing, it seems that calling it is still not complying, but I may have made boggus changes and broken the code.
Thank you for any reply
The text was updated successfully, but these errors were encountered: