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
{{ message }}
Repository navigation
Channel.push may cause Push's ref be generated twice #4948
Later when the channel joined, pushes in pushBuffer will invoke the send method which invoke the startTimeout method.
The problem is startTimeout will be called twice on a push if the channel can not push immediately, cause the ref in buffered push be re-generated. And of course the corresponding refEvent timeoutTimer become useless.
A ref being generated and not used isn't a problem as far as I can tell. Can you confirm you are seeing a bug associated when regenerating the ref? If the only issue is discarding an unsent ref, then I don't consider that an issue. If you think there is still a bug present with acknowledgement handling or timeouts please let me know. Thanks!
Activity
chrismccord commentedon Jan 6, 2023
A ref being generated and not used isn't a problem as far as I can tell. Can you confirm you are seeing a bug associated when regenerating the ref? If the only issue is discarding an unsent ref, then I don't consider that an issue. If you think there is still a bug present with acknowledgement handling or timeouts please let me know. Thanks!
Gazler commentedon Sep 12, 2023
Closing due to no response.
release the stale reply binding of a buffered push
release the stale reply binding of a buffered push
release the stale reply binding of a buffered push
release the stale reply binding of a buffered push (#6788)
release the stale reply binding of a buffered push (#6788)