The stream id Connection Manager created not always unique bug?

When create a new HTTP BIND session,

// in HttpSessionManager.java
  String streamID = Session.idFactory.createStreamID(); // in StreamIDFactory.java
    public String createStreamID() {
        return managerName + Integer.toHexString(random.nextInt());
    }

So there is a little chance, maybe two sessions created have the same stream id?

Tim

The only thing I think we can do in this situation is check the currently used IDs and if it is taken generate another.

Thanks,

Alex