[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH v2] HTTPv2 allow client to control transaction name in protocol

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 08 Mar 2011 16:08:51 +0000

Greg Stein <gstein_at_gmail.com> writes:

> And to be clear: the server *could* just remain silent, and the proxy
> would insert the SVN-VTxn-Name header in the response back to the
> client, right? Would that be an improvement/simplification?

I don't think so.

Normal operation:

  - client sends POST
  - server creates transaction called TXN-NAME
  - server replies SVN-Txn-Name:TXN-NAME
  - client send !svn/txn/TXN-NAME
  - server extracts TXN-NAME

VTXN operation:

  - client sends POST
  - proxy adds SVN-VTxn-Name:UUID
  - server creates transaction called TXN-NAME
  - server replies SVN-VTxn-Name:UUID
  - proxy passes
  - client sends !svn/vtxn/UUID
  - proxy passes
  - server extracts UUID and maps to TXN-NAME

-- 
Philip
Received on 2011-03-08 17:09:27 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.