From: Anthony Minessale Date: Wed, 16 Jan 2008 15:06:33 +0000 (+0000) Subject: return stale on invalid auth header X-Git-Tag: v1.0-rc1~660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3e10179f93ab4684ebbad27a8e8de9f01c5e84c;p=thirdparty%2Ffreeswitch.git return stale on invalid auth header git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7248 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index b407b77e1c..6bb075d949 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -823,6 +823,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t co if (cnt != 8) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Authorization header!\n"); + ret = AUTH_STALE; goto end; }