Hi,

I have an issue handling 401 or 407 authentication challenges for which I 
haven't found an answer in the documentation.
It is allowed for the server to repeat the challenge if the preceding 
authentication fails; the client must not reattempt the authentication that has 
just been rejected.
In my case, the handler is called every time for repeated 401/407 responses, 
and in absence of avoidance logic, ends up repeating the response Authorization 
header exactly. However, the stack seems to give up after a number of 
iterations. Is it supposed to be handled by the stack automatically, or shall 
the application detect such loops, checking if the nonce and the realm are the 
same as the last time?

Regards,
  Mikhail
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to