mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-10-18 23:41:28 +00:00
followup: adapt coding style to surrounding
compression is set to true by default, and we only want to be able to switch it off, not force it on. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
404175ada2
commit
025b303821
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user