Commit 32e64173 authored by Dietmar Maurer's avatar Dietmar Maurer

fix proxy loop assertion for spiceproxy

parent c3e0b952
...@@ -518,7 +518,7 @@ sub handle_spice_proxy_request { ...@@ -518,7 +518,7 @@ sub handle_spice_proxy_request {
print "$$: CONNECT $vmid, $node, $spiceport\n" if $self->{debug}; print "$$: CONNECT $vmid, $node, $spiceport\n" if $self->{debug};
} }
if ($r->header('PVEDisableProxy')) { if ($remip && $r->header('PVEDisableProxy')) {
$self->error($reqstate, HTTP_INTERNAL_SERVER_ERROR, "proxy loop detected"); $self->error($reqstate, HTTP_INTERNAL_SERVER_ERROR, "proxy loop detected");
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment