Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tpf-udp-proxy: expire unanswered token messages #2

Open
reduzent opened this issue Feb 27, 2021 · 0 comments
Open

tpf-udp-proxy: expire unanswered token messages #2

reduzent opened this issue Feb 27, 2021 · 0 comments

Comments

@reduzent
Copy link
Member

reduzent commented Feb 27, 2021

tpf-udp-proxy expects to receive the same token message from two clients for it to establish a link between them. However, it doesn't handle cases well where a token message is dropped. This can lead to situations where clients try to re-establish the connection by sending the token message again. If there is still an unanswered token message available, the first incoming completes the match and the second one waits for an answer. If clients re-use the same token (which they shouldn't do and which is fixed now in tpf-client), this might prevent them from establishing an audio connection.

Unanswered token message should be discarded after a certain time since both clients usually send their matching token messages within a very short period of time under normal network conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant