You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When server initiates connection forwarding and a client with ID 101 performs sync connection, the server incorrectly closes all connections with IDs > 100 if the current max id in client reported clientIDs is 100, causing request failures.
When adding a connection to the Session, if s.client is true, use s.nextID to track the maximum received ID. During syncing, append the active connection IDs with append(s.activeConnectionIDs(), 0, s.nextID).
Since normal IDs are always greater than 0, the server can determine if the maximum value was reported by examining the second-to-last element of the ID list. This approach maintains compatibility with existing libraries.
The text was updated successfully, but these errors were encountered:
When server initiates connection forwarding and a client with ID 101 performs sync connection, the server incorrectly closes all connections with IDs > 100 if the current max id in client reported clientIDs is 100, causing request failures.
When adding a connection to the Session, if s.client is true, use s.nextID to track the maximum received ID. During syncing, append the active connection IDs with append(s.activeConnectionIDs(), 0, s.nextID).
Since normal IDs are always greater than 0, the server can determine if the maximum value was reported by examining the second-to-last element of the ID list. This approach maintains compatibility with existing libraries.
The text was updated successfully, but these errors were encountered: