Skip to content

Synchronize message sending in HTTP SockJS sessions with request initialization [SPR-12516] #17121

Closed
@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-12516 and commented

AbstractHttpSockJsSession adds messages to be sent to an internal cache. This should be synchronized with request initialization (either initial or subsequent, long polling request). Not doing so means that under some circumstances a message may not get flushed until another message is written.


Affects: 4.0.8

Referenced from: commits 9cb1569, b796c1e

Backported to: 4.0.9

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions