From 5bba86aff1c5236d9f106e3e13fbfa4954556898 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 4 Nov 2009 13:17:31 +0000 Subject: Fixed ticket #940: Multiple header rows with the same name may not be completely processed by PJSIP modules - the parser now collect and aggregate all Supported/Require header fields into single header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2985 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsip/sip_transport.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'pjsip/include') diff --git a/pjsip/include/pjsip/sip_transport.h b/pjsip/include/pjsip/sip_transport.h index 0e461638..b971762f 100644 --- a/pjsip/include/pjsip/sip_transport.h +++ b/pjsip/include/pjsip/sip_transport.h @@ -385,9 +385,16 @@ struct pjsip_rx_data /** Content-length header. */ pjsip_clen_hdr *clen; - /** The first Require header. */ + /** "Require" header containing aggregates of all Require + * headers found in the message, or NULL. + */ pjsip_require_hdr *require; + /** "Supported" header containing aggregates of all Supported + * headers found in the message, or NULL. + */ + pjsip_supported_hdr *supported; + /** The list of error generated by the parser when parsing this message. */ -- cgit v1.2.3