A clarification here on an old thread.

A UAS should still be prepared to receive a UDP request without
content-length. If none is present, the body encompasses the rest of the UDP
packet. That has nothing to do with multiple SIP messages per UDP datagram.

The "Content Length Required" error message has been removed from bis, since
you need to be prepared to get the body from the remainder of the UDP
datagram.

-Jonathan R.

---
Jonathan D. Rosenberg                       72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
[EMAIL PROTECTED]                     FAX:   (973) 952-5050
http://www.cs.columbia.edu/~jdrosen         PHONE: (973) 952-5000
http://www.dynamicsoft.com
 

> -----Original Message-----
> From: Hisham Khartabil [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 3:28 AM
> To: Nirmalya Ghosh; [EMAIL PROTECTED]
> Subject: RE: [SIP] Question on Missing Content Length field
> 
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Nirmalya Ghosh
> > Sent: Tuesday, 13 February 2001 5:07 AM
> > To: [EMAIL PROTECTED]
> > Subject: [SIP] Question on Missing Content Length field
> >
> >
> > Hi,
> > I've been trying to find the answer in the RFC (2543) and also in
> > past queries posted on
> > this mailing list - but couldn't quite get a clear answer. What I
> > wish to find out is
> > what does a proxy server do, if it receives a request with a
> > missing "Content-Length"
> > field?
> >
> > Section 6.15 (pg.51) says that, "if a server receives a UDP
> > request without
> > Content-Length, it MUST assume that the request encompasses the
> > remainder of the packet";
> 
> I think this was during the days when you were allowed more 
> than one SIP
> message in a UDP datagram.
> 
> 
> >
> > Whereas, Section 7.4.12 (pg.79) says that, "The server refuses to
> > accept the request
> > without a defined Content-Length"
> 
> well, i think this is an implementation issue. We just make 
> the assumption
> that the rest of the packet is the body and try and parse that.
> 
> >
> > So, does this imply that if this field is missing in an incoming
> > request, the server
> > returns a 411 (Length Required) response? Or, does it just assume
> > to have no body and
> > process the request?
> >
> > Thanks in advance.
> >
> > Regards,
> > nirmalya
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com.sg/
> >
> > _______________________________________________
> > This list is for continuing development of the SIP protocol.
> > The sip-implementer's list is the place to discuss implementation,
> > and to receive advice on understanding existing sip.
> > To subscribe to it, send mail to [EMAIL PROTECTED] with
> > "subscribe sip-implementors" in the body.
> 
> 
> Regards,
> 
> Hisham Khartabil
> Hotsip Finland
> www.hotsip.com
> 
> 
> _______________________________________________
> This list is for continuing development of the SIP protocol.
> The sip-implementer's list is the place to discuss implementation,
> and to receive advice on understanding existing sip.
> To subscribe to it, send mail to [EMAIL PROTECTED] with
> "subscribe sip-implementors" in the body.
> 
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to