Hi there,

I'm observing a problem when our application receives an INVITE with a
multipart/mixed payload that contain 'Content-Type' headers in the short
form inside each part, like the following example:

--unique-boundary-1
c: application/SDP

v=0
(...)

--unique-boundary-1
c: application/ISUP;version=BR_ETSI121;base=ETSI121
Content-Disposition: signal;handling=optional

(...)
--unique-boundary-1--

The msg_multipart_t structure that results from msg_multipart_parse() has
NULL mp_content_type fields. When the headers are in the long form,
everything is parsed correctly.
The 'Content-Type' header in the message before the payload is also in the
short form and is parsed correctly.
I'm searching the source code for the possible bug, but maybe you'll find it
faster than me.
Thanks in advance.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to