ietf-openproxy
[Top] [All Lists]

Re: CE message

2003-06-30 09:15:51

On Mon, 30 Jun 2003, Martin Stecher wrote:

while implementing the OCP server prototype, I got two questions
regarding the CE message:

0a. While TE has a result parameter, CE has not.
    Both have an optional error parameter.
    I know we had this discussion on the list but cannot really remember.
    Section 8.13: "error ... that cannot be expressed via result"
    What kind of error could that be?

I cannot think of a good example. An explicit error flag was added
because Oskar Batuner suggested that abnormal termination must be
distinguished from a normal (but possibly also erroneous) termination.
Oskar suggested a dedicated "xaction-abort" message or similar.
Somebody pointed out that the same semantics can be expressed via
special bit in a result code, but we may want to be explicit and have
an "error" flag.

We should make a decision how to express the "abnormal termination"
semantics.

0b. The syntax of "result" should be a struct { uni [string] }.

Yes, will document.

Depending on 0a:
1. How about adding an optional, anonymous result parameter to CE?
   I use status codes and error strings for various errors that
   sometimes close a connection sometimes just the transaction.
   It's handy to keep both similar.

I agree. All *End messages should be similar. Will add.

2. The CE messages implies closing of all open transactions.
   I would like to restrict this to happen only for the error case.
   Only if the processor wants to close the connection but does not
   expect to get any response for open transactions.
   If a transaction should close without error, a TE message must be sent.
   I am still fine that TE implies AME.

This should be already the case, essentially. Perhaps we need to
polish documentation. AME means "I am done sending my data". AME does
not imply disinterest in the other side data. TE means "I am no longer
interested in this transaction". TE implies disinterest in other side
data for the same transaction. TE does not imply disinterest in other
transactions on the same connection. CE means "I am not longer
interested in anything on this connection and am going to close it".
CE does not imply disinterest in other connections.

Does this semantics meet your needs?

Thanks,

Alex.

-- 
                            | HTTP performance - Web Polygraph benchmark
www.measurement-factory.com | HTTP compliance+ - Co-Advisor test suite
                            | all of the above - PolyBox appliance

<Prev in Thread] Current Thread [Next in Thread>