Moving this to sip-implementors...

PLEASE Post all questions on sip to the sip-implementors list NOT the main
sip list.

 

> -----Original Message-----
> From: Nirmalya Ghosh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 10:07 PM
> 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";
> 
> Whereas, Section 7.4.12 (pg.79) says that, "The server 
> refuses to accept the request
> without a defined Content-Length" 
> 
> 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?

This is an inconsistency that has been raised on the list previously. The
answer is that it should assume that the message encompasses the remainder
of the packet. The 411 code is therefore not needed. I have it in my notes
to remove this section, although that has not been done yet from the bis
draft.

-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

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to