Mercurial > hg > freeDiameter
comparison extensions/app_radgw/rgwx_sip.c @ 924:877592751fee
Fix (tentative) for invalid handling of sessions fast creation/destruction as pointed by Yusuke Okura -- http://lists.freediameter.net/pipermail/help/2013-February/000584.html and http://lists.freediameter.net/pipermail/help/2013-February/000589.html -- Thank you very much
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 14 Feb 2013 17:52:57 +0100 |
parents | af62a5485fa2 |
children | 2091bf698fb1 |
comparison
equal
deleted
inserted
replaced
923:6a4d08e239bd | 924:877592751fee |
---|---|
477 CHECK_FCT( fd_msg_avp_new ( cs->dict.Session_Id, 0, &avp ) ); | 477 CHECK_FCT( fd_msg_avp_new ( cs->dict.Session_Id, 0, &avp ) ); |
478 value.os.data = sid; | 478 value.os.data = sid; |
479 value.os.len = sidlen; | 479 value.os.len = sidlen; |
480 CHECK_FCT( fd_msg_avp_setvalue ( avp, &value ) ); | 480 CHECK_FCT( fd_msg_avp_setvalue ( avp, &value ) ); |
481 CHECK_FCT( fd_msg_avp_add ( *diam_fw, MSG_BRW_FIRST_CHILD, avp) ); | 481 CHECK_FCT( fd_msg_avp_add ( *diam_fw, MSG_BRW_FIRST_CHILD, avp) ); |
482 CHECK_FCT( fd_msg_sess_set( *diam_fw, *session) ); | |
482 | 483 |
483 /* | 484 /* |
484 If the RADIUS Access-Request message does not | 485 If the RADIUS Access-Request message does not |
485 contain any Digest-* attribute, then the RADIUS client does not want | 486 contain any Digest-* attribute, then the RADIUS client does not want |
486 to apply HTTP Digest authentication, in which case, actions at the | 487 to apply HTTP Digest authentication, in which case, actions at the |