Skip to content

Server Sent Event does not support multi-line comments #36866

@bclozel

Description

@bclozel

While Server Sent Event comment field is mainly used for sending keepalive messages, they can also be used by the application to send debug information. In this case, multi-line strings can be used and currently those can break the wire protocol when written to the network.

We should ensure that those are properly supported.

This was initially reported by @tonghuaroot

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
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions