Removed multiple Via headers checking in transport, as

proxies will receive multiple Via headers.
Thanks Aldo <acampi at deis.unibo.it>.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@792 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2006-11-06 13:19:20 +00:00
parent 33cb24a868
commit eba441ad84
1 changed files with 5 additions and 0 deletions

View File

@ -1141,6 +1141,10 @@ PJ_DEF(pj_ssize_t) pjsip_tpmgr_receive_packet( pjsip_tpmgr *mgr,
/* Drop response message if it has more than one Via.
*/
/* This is wrong. Proxy DOES receive responses with multiple
* Via headers! Thanks Aldo <acampi at deis.unibo.it> for pointing
* this out.
if (msg->type == PJSIP_RESPONSE_MSG) {
pjsip_hdr *hdr;
hdr = (pjsip_hdr*)rdata->msg_info.via->next;
@ -1152,6 +1156,7 @@ PJ_DEF(pj_ssize_t) pjsip_tpmgr_receive_packet( pjsip_tpmgr *mgr,
}
}
}
*/
/* Call the transport manager's upstream message callback.
*/