According to RFC:
In the case of message-oriented transports (such as UDP), if the
message has a Content-Length header field, the message body is
assumed to contain that many bytes. If there are additional bytes
in
the transport packet beyond the end of the body, they MUST be
discarded. If the transport packet ends before the end of the
message body, this is considered an error. If the message is a
response, it MUST be discarded. If the message is a request, the
element SHOULD generate a 400 (Bad Request) response. If the
message
has no Content-Length header field, the message body is assumed to
end at the end of the transport packet.
Cheers,
Vivek
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Pandurangan R S
Sent: Wednesday, June 18, 2008 3:57 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [Sip-implementors] Call does not go through if ACK is
receivedwithContent-Length more than the actual body size
Please note that ACK no response associated with it and hence a response
cannot be sent.
On Wed, Jun 18, 2008 at 3:51 PM, srinivas <[EMAIL PROTECTED]> wrote:
> Hi,
> It's wrong according to RFC 3261: UAS supposed to send 400 (Bad Request)
> response. Check the 18.3 Framing section
> If the transport packet ends before the end of the message body, this is
> considered an error. If the message is a response, it MUST be discarded.
> If the message is a request, the element SHOULD generate a 400 (Bad
> Request)
> response.
>
> Thanks & Regards,
> Srinivas CH,
> Huawei Technologis India Pvt Ltd,
> 7th Floor Leela Palace,
> Airport Road, Bangalore-8,
> Contact: (Off) 080-41117676 ext: 7023 (Mob) +919731316362.
>
> This e-mail and attachments contain confidential information from HUAWEI,
> which is intended only for the person or entity whose address is listed
> above. Any use of the information contained herein in any way (including,
> but not limited to, total or partial disclosure, reproduction, or
> dissemination) by persons other than the intended recipient's) is
> prohibited. If you receive this e-mail in error, please notify the sender
> by
> phone or email immediately and delete it!
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of SHIV
> SINGH
> Sent: Wednesday, June 18, 2008 3:39 PM
> To: [email protected]
> Subject: [Sip-implementors] Call does not go through if ACK is received
> withContent-Length more than the actual body size
>
> Hi All,
> Please can you tell me the behavior of UAS in the following case:
> If UAS is getting the ACK with content-length more than the actual body
> length and all the headers are correct?
>
>
> As per present behavior of our UATK we are processing the ACK(and
returning
> decode failure) and changing the state of call from completed to confirm.
> We
> are stopping the re-transmition timer of 200OK and freeing the
transaction.
> So please tell me whether it is correct or not?
>
>
> Thanks & Regards,
> Shiv
>
>
>
>
> Bollywood, fun, friendship, sports and more. You name it, we have it
> on http://in.promos.yahoo.com/groups/bestofyahoo/
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
>
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors