[MERGE][RFC] Proposed version 3 of smart server protocol
Robert Collins
robertc at robertcollins.net
Thu Feb 14 23:15:57 GMT 2008
On Fri, 2008-02-15 at 10:02 +1100, Andrew Bennetts wrote:
>
> This is an update of the proposed version 3 of the smart server protocol.
>
> It's not radically different to the originally posted version. Robert did
> suggest putting the response args after the response body to avoid having two
> sets of arguments in the response, but Martin convinced me that this isn't worth
> doing. Martin would like to keep the symmetry between requests and responses,
> and also pointed out that it would be useful for a client to have a way to
> explicitly interrupt a streamed body with an error.
This doesn't scan to me. Symmetry between requests and responses is
unrelated to ordering of content. Interrupting a body is also unrelated
to this point. Specifically interruption requires a full duplex
connection which we don't have.
And duplication is something we shouldn't embed in the protocol. HTTP
does with trailers and its pretty fugly the complexity it drives.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080215/3f5318e6/attachment.pgp
More information about the bazaar
mailing list