sergey-safarov left a comment (kamailio/kamailio#4290)
In the sanity module documentation, I can see
> content length - (128) - checks if the size of the body matches the value
> from the Content-Length header.
Technically, the SIP message body is equal `Content-Length` header value. Here
is the present trailer, which is not specified in the `sanity` module
description.
When SDP is smaller or bigger than it is specified in the `Content-Length`
header sanity check will properly drop the message because in this case it
breaks the RFC. But in this case SIP message is RFC compliant.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4290#issuecomment-2993734191
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4290/2993734...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!