Commit 4a741685 authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: include Session-Expires to session refresh requests

Ignore-this: 5742d0af4a431dafefde087819ffa1cb

Thanks for Linus Surguy for reporting the problem.

darcs-hash:20090512170813-db55f-f49f6270a661942f9d2a5b4778ccb7eaad51a377.gz
parent bf61c424
......@@ -4427,10 +4427,15 @@ session_timer_add_headers(struct session_timer *t,
*/
if (t->local.refresher == nua_local_refresher)
refresher = nua_local_refresher;
else if (!initial)
refresher = t->refresher;
expires = t->local.expires;
if (expires != 0 && expires < min)
expires = min;
if (expires == 0 && !initial && t->interval)
expires = t->interval;
}
sip_min_se_init(min_se)->min_delta = min;
......
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