diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-11-04 13:17:31 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-11-04 13:17:31 +0000 |
commit | 5bba86aff1c5236d9f106e3e13fbfa4954556898 (patch) | |
tree | 006da74263fa71bcc0959b39c0a93b8147c6eef9 /pjsip/include/pjsip/sip_transport.h | |
parent | ffb29852a54771b54218e24595b123f1f5b96e22 (diff) |
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
Diffstat (limited to 'pjsip/include/pjsip/sip_transport.h')
-rw-r--r-- | pjsip/include/pjsip/sip_transport.h | 9 |
1 files changed, 8 insertions, 1 deletions
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. */ |