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 ??
Comment From: rstoyanchev
We can add another constructor to NettyWebSocketSessionSupport that accepts the id, and pass the channel id from ReactorNettyWebSocketSession.
Comment From: mailingfeng
Good! Looking forward to it.