Bugs item #1685249, was opened at 2007-03-21 16:44
Message generated for change (Comment added) made by mzabaluev
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1685249&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Mikhail Zabaluev (mzabaluev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unclean termination of a call in absence of nua_authenticate

Initial Comment:
If an outgoing INVITE is challenged with a 401 or 407 response, and the 
application does not call nua_authenticate() as part of handling the response, 
the call is not terminated cleanly and an orphan "ACK transaction" remains open 
in the NUA state. This slows down a later shutdown of the stack.

Sofia-SIP version: 1.12.5

----------------------------------------------------------------------

>Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2007-11-27 17:45

Message:
Logged In: YES 
user_id=313104
Originator: YES

Certainly there ought to be a way to resubmit a challenged request with
credentials obtained interactively, and that cannot happen in the same
callback. Therefore, challenged handles should linger until the client
authenticates them or destroys them. But then:
1) such handles should be reaped instantly during the stack shutdown;
2) the lifecycle of a challenged handle, e.g. a way to silently dispose of
it in absence of credentials, should be documented.

----------------------------------------------------------------------

Comment By: Pekka Pessi (ppessi)
Date: 2007-04-11 20:24

Message:
Logged In: YES 
user_id=52043
Originator: NO

Now partially fixed.

If the nua_authenticate() fails to update credentials (e.g., it has an
username-password pair that has been used previously), the stack now
removes the client request that waits for authentication credentials and
returns a 904 response event to the request.

For INVITE/UPDATE/PRACK, the nua_r_invite/nua_r_update event can be
followed by appropriate nua_i_state event.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1685249&group_id=143636

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to