On Fri, Mar 28, 2008 at 7:04 PM, Iñaki Baz Castillo <[EMAIL PROTECTED]> wrote:
> Hi, AFAIK reading RFC 3261, using UDP the header Content-Length is not
>  mandatory and if it doesn't appear it's considered 0.
>
>  But using TCP Content-Length is mandatory. I understand that in TCP the same
>  connection can handle lost of messages while in UDP a message fills exactly
>  one UDP datagram.
>
>  Why content length is not set to zero if Content-Length doesn't exist in a 
> TCP
>  SIP message?
>

Once upon a time, during the bad old days of Rfc 2543, it was legal to
pack more than one SIP message into a single UDP packet. Hence Content
Length became mandatory.  At least, thats what I think the reason is.

Ranga


>  Thanks a lot.
>
>
>  --
>  Iñaki Baz Castillo
>
>  _______________________________________________
>  Sip-implementors mailing list
>  [email protected]
>  https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors



-- 
M. Ranganathan

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to