W3C home > Mailing lists > Public > xml-dist-app@w3.org > January 2006

Re: The deep difference between request/response and fire-and-forget

From: Mark Baker <distobj@acm.org>
Date: Mon, 23 Jan 2006 23:29:48 -0500
Message-ID: <c70bc85d0601232029s7c892b1as666db091d5af0c58@mail.gmail.com>
To: Rich Salz <rsalz@datapower.com>
Cc: David Orchard <dorchard@bea.com>, xml-dist-app@w3.org

On 1/23/06, Rich Salz <rsalz@datapower.com> wrote:
> > After this little bit of analysis, it seems that the only reason to have
> > the 2 different MEPs is specify what a connection close after send
> > means, specifically what the next state is.  For faf, connection close
> > after send means Success.  For r-ore that is different than faf,
> > connection close after send would mean Fail.
> >
> > However, I think that we can hit the 80/20 by providing a r-ore mep and
> > specifying that connection close after send results in Success.
> Last week I would have agreed.
> Having been (re)educated by our HTTP guru, I now realize that closing
> the connection after sending your HTTP request, but without reading the
> return HTTP response, is a breakage of HTTP...  ergo, don't do that.

I don't have any stake in the outcome of this discussion, but there's
no "breakage" when the connection is closed, because HTTP 1.1 cleanly
separates message semantics from connection state (HTTP 1.0, not so
much, though with responses, not requests).  Worst case, closing the
connection is an inefficient use of resources (the TCP connection),
and it trades-off determinism for simplicity of implementation. 
That's it, AFAICT.

Received on Tuesday, 24 January 2006 04:29:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:28 UTC