Commit b2f62de2 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nua_session.c: if timer is Require'd default to local refresher if...

nua_session.c: if timer is Require'd default to local refresher if Session-Expires has no refresher parameter

darcs-hash:20080407170100-65a35-9d0d6434d78b1f507aeca8bb269a67368d58ef30.gz
parent 54d697c4
......@@ -4190,6 +4190,10 @@ void session_timer_store(struct session_timer *t,
else if (strcasecmp(x->x_refresher, "uas") == 0)
t->remote.refresher = uas ? nua_local_refresher : nua_remote_refresher;
}
else if (t->remote.require) {
/* Require: timer but no refresher parameter in Session-Expires header */
t->remote.refresher = nua_local_refresher;
}
}
if (sip->sip_min_se)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment