El Sábado, 29 de Marzo de 2008, Valentin Nechayev escribió: > >>>>> 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.
opss, ok, that explains all. Also I've just found it explained as you say in "18.3 Framing". > > But using TCP Content-Length is mandatory. I understand that in TCP the > > same connection can handle lost of messages > > s/lost/lot/, yeah? Yes :) > > 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. Now it's clear. Thanks a lot. -- Iñaki Baz Castillo _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors