>>>>> 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.

No, if it doesn't appear it's considered undefined and body length
isn't checked. But if it is equal to 0, body is ignored.

> But using TCP Content-Length is mandatory. I understand that in TCP the same 
> connection can handle lost of messages

s/lost/lot/, yeah?

> 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?

The question is incorrect because your assumption is invalid.

-- 
Valentin Nechayev
PortaOne Inc., Software Engineer
mailto:[EMAIL PROTECTED]
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to