Module: sip-router Branch: 3.1 Commit: e617e8c67b45e55fdc22a462a5742a835a6bc81a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e617e8c6...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Mon Feb 28 14:27:25 2011 +0100
core: update the list of header that alloc pkg for parsed structure (cherry picked from commit 33ec2a39200c0cfaf90524970fa5249c17a2b602)
---
parser/hf.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/parser/hf.h b/parser/hf.h index 035c91c..759dc6d 100644 --- a/parser/hf.h +++ b/parser/hf.h @@ -228,19 +228,29 @@ static inline int hdr_allocs_parse(struct hdr_field* hdr) case HDR_VIA_T: case HDR_TO_T: case HDR_FROM_T: + case HDR_CSEQ_T: case HDR_CONTACT_T: case HDR_ROUTE_T: case HDR_RECORDROUTE_T: case HDR_AUTHORIZATION_T: case HDR_EXPIRES_T: case HDR_PROXYAUTH_T: + case HDR_ALLOW_T: case HDR_EVENT_T: case HDR_ACCEPT_T: case HDR_CONTENTDISPOSITION_T: case HDR_DIVERSION_T: + case HDR_DATE_T: case HDR_RPID_T: case HDR_REFER_TO_T: + case HDR_SIPIFMATCH_T: case HDR_SUBSCRIPTION_STATE_T: + case HDR_IDENTITY_INFO_T: + case HDR_IDENTITY_T: + case HDR_SUPPORTED_T: + case HDR_SESSIONEXPIRES_T: + case HDR_PPI_T: + case HDR_PAI_T: return 1; default: return 0;