[Spice-devel] [PATCH spice-protocol] controller: add proxy message

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jan 28 05:32:31 PST 2013


Add a new string message for sending proxy details.
CONTROLLER_PROXY (ControllerData, string)

The value must be of the form [protocol://]<host>[:port]

The proxy string may be specified with a protocol:// prefix to specify
alternative proxy protocols.

If no protocol is specified in the proxy string or if the string
doesn't match a supported one, the proxy will be treated as a HTTP
proxy.
---
 spice/controller_prot.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spice/controller_prot.h b/spice/controller_prot.h
index facf241..bca7804 100644
--- a/spice/controller_prot.h
+++ b/spice/controller_prot.h
@@ -82,6 +82,8 @@ enum {
     CONTROLLER_ENABLE_USB_AUTOSHARE,
     CONTROLLER_USB_FILTER,
 
+    CONTROLLER_PROXY,
+
     //spice client -> external app
     CONTROLLER_MENU_ITEM_CLICK = 1001,
 };
-- 
1.8.1.rc1.17.g75ed918



More information about the Spice-devel mailing list