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

Infinite authentication look on INVITE with invalid credentials #53

Open
arkadiam opened this issue Feb 28, 2025 · 1 comment
Open

Infinite authentication look on INVITE with invalid credentials #53

arkadiam opened this issue Feb 28, 2025 · 1 comment

Comments

@arkadiam
Copy link

When making a call through a server that requires authenticating and using invalid username and password there is an infinite look condition in
func (s *DialogClientSession) WaitAnswer() function

INVITE->
<-407 Auth required
INVITE with Proxy-Authorization ->
<-407 Auth required
INVITE with Proxy-Authorization ->
<-407 Auth required
...

for{} loop should be interrupted with error after two 407 or 401 replies.

@arkadiam
Copy link
Author

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