WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 0 of 2] raw VDI import can now issue HTTP redirects

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 0 of 2] raw VDI import can now issue HTTP redirects
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 23 Aug 2010 13:03:52 +0100
Delivery-date: Mon, 23 Aug 2010 05:25:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
The import_raw_vdi HTTP handler now behaves more like the import and export 
handlers: it will emit an HTTP 302 redirect if the local host cannot access the 
SR.

We are also careful to issue a redirect using HTTPS if the incoming connection 
was HTTPS, and HTTP if it was HTTP.

 ocaml/xapi/import_raw_vdi.ml        |  50 ++++++++++++++++++++++++++++++------
 ocaml/idl/ocaml_backend/context.ml  |   8 +++++
 ocaml/idl/ocaml_backend/context.mli |   3 ++
 ocaml/xapi/import_raw_vdi.ml        |   2 +-
 4 files changed, 53 insertions(+), 10 deletions(-)

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api