[sr-dev] [kamailio/kamailio] extensions to lost and http_client modules (#2675)
sergey-safarov
notifications at github.com
Fri Apr 9 00:37:30 CEST 2021
yes, have checked "ERROR" generation.
This happens because `part_multipart_headers_cmp()` try search content by "Content-Id".
The first content element (SDP in the example) does not have "Content-Id".
Function reaches the end of the content element and generates the error.
Then `part_multipart_headers_cmp()` try search "Content-Id" in second element and fount it and then returns result.
Looks as current `part_multipart_headers_cmp()` implementation handles case when content element do not has "Content-Id" header as error.
Looks as provided fix correct for this case.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2675#issuecomment-816276726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210408/9de94105/attachment.htm>
More information about the sr-dev
mailing list