[pve-devel] spiceproxy CONNECT method
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Tue Jul 4 11:16:15 CEST 2017
Hello,
the following commit fixed it for me.
commit 6ddcde393f8bdbb5aaf3d347213bf819c788478b
Author: Stefan Priebe <s.priebe at profihost.ag>
Date: Tue Jul 4 11:14:19 2017 +0200
PVE/HTTPServer: add CONNECT method for spice
diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm
index a6fef7b..2c956de 100755
--- a/PVE/HTTPServer.pm
+++ b/PVE/HTTPServer.pm
@@ -257,6 +257,7 @@ my $known_methods = {
POST => 1,
PUT => 1,
DELETE => 1,
+ CONNECT => 1,
};
my $split_abs_uri = sub {
Grüße,
Stefan Priebe
Am 04.07.2017 um 08:40 schrieb Stefan Priebe - Profihost AG:
> Hello,
>
> i'm doing some experiments with the spiceproxy. Currently just trying to
> get it working.
>
> After downloading a spice connection file from the web gui. remote
> viewer stops with:
>
> "failed to connect HTTP proxy connection failed: 501 method 'CONNECT'
> not available"
>
> The access.log of the spice proxy shows:
> CONNECT
> pvespiceproxy:595b35b2:123:node1::5a12b84a5038dc4dd37c4eac5bd5af567c7bbe1f:61000
> HTTP/1.0
>
> pve-manager: 4.4-12
> libpve-http-server-perl: 1.0-4
> libpve-common-perl: 4.0-94
>
> Is this method missing? Does my remote-viewer do strange things?
>
> Thanks!
>
> Greets,
> Stefan
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
More information about the pve-devel
mailing list