[Msrp] Transactions in MSRP
Hi
All,
I
have few questions related to the transactions in MSRP.
My understanding is
that a Request - Response combination makes a complete
transaction.
that is, if we send
out a SEND request, we create a new transaction and wait till we get a response
(positive or negative) from the receiver to terminate this
transaction.
This makes one
complete transaction.
1) In section 7.1.1
4th paragraph states,
"If success reports are requested, i.e. the value of the
Success-Report header field is "yes", the sending device MAY wish to run
a
timer of some value that makes sense for its application and take
action if a success Report is not received in this
time.............."
From this I
understand that, if Success report header is "YES" then we need to start a timer
of say 2 min(application chosen value) and wait for success
report.
But what about the
SEND requests that we send out. Should we start any timer for this transaction?
what should be the value for that?
2) In section
7.1.1 5th paragraph states,
"If the value of "Failure-Report" is set to "yes",
then the sender of the request runs a timer. If a 200 response to the
transaction is
not received within 30 seconds from the time
the last byte of the transaction is sent, or submitted to the operating system
for
sending, the element MUST inform the user
that the request probably failed............"
From this I understand that, if Failure
report is set to "YES" then a timer of value 30 seconds is started for each
SEND request transaction.
But if Failure report header is not present
then the default value is "YES". At that time also should we start a
timer for each transaction?
3) In section 7.1.3 2nd paragraph
states,
"If the endpoint
receives a SEND request with a Failure-Report header field value of "no", then
it MUST NOT send a failure REPORT request,
and MUST NOT send a transaction response. If
the value is "partial", it MUST NOT send a 200 transaction response to the
request, but
SHOULD send an
appropriate non-200 class response if a failure
occurs........."
Here I'm not clear
why the transaction response should not be sent if Failure report is set to
"NO". Transaction response can be Success also.
A bit more of an
explanation in draft about the transaction timers and states would be
helpful.
Please help me to
clarify the above questions.
-Srinath