Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Different ReactorNettyWebSocketSession call getId() may return the same value #35883

Copy link
Copy link
@mailingfeng

Description

@mailingfeng
Issue body actions

Bug Reposrts

version: 6.2.14 (also with 6.1.x)

bug description:

In a production environment,SpringWebFlux (Netty) different ReactorNettyWebSocketSession call getId() return the same value, because the following logic: ObjectUtils.getIdentityHexString(delegate)

protected NettyWebSocketSessionSupport(T delegate, HandshakeInfo info, NettyDataBufferFactory factory) {
            super(delegate, ObjectUtils.getIdentityHexString(delegate), info, factory);
}

Expectation

ReactorNettyWebSocketSession id can be globally unique ??
Or
ReactorNettyWebSocketSession id generation strategy, can support custom ??

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.