diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index 502b824..468edb4 100755 --- a/PVE/APIServer/AnyEvent.pm +++ b/PVE/APIServer/AnyEvent.pm @@ -184,7 +184,7 @@ sub response { $reqstate->{hdl}->timeout_reset(); $reqstate->{hdl}->timeout($self->{timeout}); - $nocomp //= !$self->{compression}; + $nocomp = 1 if !$self->{compression}; $nocomp = 1 if !$reqstate->{accept_gzip}; my $code = $resp->code;