[sr-dev] git:master: parser: add internal flag FL_BODY_MULTIPART

Victor Seva linuxmaniac at torreviejawireless.org
Mon Apr 28 23:22:55 CEST 2014


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

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Fri Mar 21 21:52:03 2014 +0100

parser: add internal flag FL_BODY_MULTIPART

This will be set if the body has been converted to multipart/mixed
or a new part has been appended to it. This will trigger the core
to check and fix the boundaries of the body.

---

 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 724ebef..f25bec9 100644
--- a/parser/msg_parser.h
+++ b/parser/msg_parser.h
@@ -121,6 +121,7 @@ typedef enum request_method {
 #define FL_USE_UAC_TO        (1<<14)  /* take TO hdr from UAC instead of UAS */
 #define FL_TM_RPL_MATCHED    (1<<15)  /* tm matched reply already */
 #define FL_RPL_SUSPENDED     (1<<16)  /* for async reply processing */
+#define FL_BODY_MULTIPART    (1<<17)  /* body modified is multipart */
 
 /* WARNING: Value (1 << 28) is temporarily reserved for use in kamailio call_control
  * module (flag  FL_USE_CALL_CONTROL )! */




More information about the sr-dev mailing list