[sr-dev] git:master: parser: new internal msg flag FL_SDP_BODY

Daniel-Constantin Mierla miconda at gmail.com
Sat May 28 10:17:52 CEST 2011


Module: sip-router
Branch: master
Commit: 05b5d0183653d936261a91e6f172ddb1e5d30037
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=05b5d0183653d936261a91e6f172ddb1e5d30037

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat May 28 08:55:02 2011 +0200

parser: new internal msg flag FL_SDP_BODY

- mark the request if there is an sdp body (useful for multi-part bodies
  or to quickly check in tm routes as the msg body is not cloned in shm
  and will require parsing again)

---

 parser/msg_parser.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/parser/msg_parser.h b/parser/msg_parser.h
index 8ef60ca..30069a9 100644
--- a/parser/msg_parser.h
+++ b/parser/msg_parser.h
@@ -118,6 +118,7 @@ enum request_method {
 #define FL_MTU_TLS_FB   (1 << 9)
 #define FL_MTU_SCTP_FB  (1 << 10)
 #define FL_ADD_LOCAL_RPORT  (1 << 11) /*!< add 'rport' to local via hdr */
+#define FL_SDP_BODY     (1 << 12)  /*!< msg has SDP in body */
 
 /* WARNING: Value (1 << 29) is temporarily reserved for use in kamailio acc
  * module (flag FL_REQ_UPSTREAM)! */




More information about the sr-dev mailing list