[Kamailio-Devel] [SR-Dev] content length
Jan Janak
jan at iptel.org
Mon Mar 30 15:20:49 CEST 2009
On 30-03 16:06, Daniel-Constantin Mierla wrote:
> Hello,
>
> the data lumps system is critically affected if content-length is wrong
> for UDP. The anchor_lump() calls abort() in the case content-length is
> higher than actually body length. This can be prevented by called sanity
> module to check the content length, however, I consider being too
> drastic to have abort in such case, it would be better to return an
> error and let the sip router process other messages. Opinions?
Yes, I agree, returning an error seems appropriate to me.
Jan.
More information about the Devel
mailing list