Skip to content

SockJsClient doesn't propagate "subProtocols" and "extensions" to the handshake request [SPR-12030] #16646

@spring-projects-issues

Description

@spring-projects-issues

Artem Bilan opened SPR-12030 and commented

Since "Sec-WebSocket-Protocol" and "Sec-WebSocket-Extensions" headers are filtered from handshakeHeaders in the AbstractWebSocketClient.doHandshake, the concrete AbstractWebSocketClient should take care about about those headers according to the target implementation.

As a solution SockJsClient has to "repopulate" those headers to the handshakeHeaders for further handshake fallback chain.


Referenced from: commits 41cdc92

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions