5
0
mirror of git://git.proxmox.com/git/pve-http-server.git synced 2025-01-10 01:18:00 +03:00

websocket_proxy: fix indentation

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-03-06 11:20:30 +01:00 committed by Thomas Lamprecht
parent e6cb79b52c
commit f1b41d8405

View File

@ -507,9 +507,9 @@ sub websocket_proxy {
} elsif ($opcode == 8) {
my $statuscode = unpack ("n", $payload);
print "websocket received close. status code: '$statuscode'\n" if $self->{debug};
if ($reqstate->{proxyhdl}) {
$reqstate->{proxyhdl}->push_shutdown();
}
if ($reqstate->{proxyhdl}) {
$reqstate->{proxyhdl}->push_shutdown();
}
$hdl->push_shutdown();
} elsif ($opcode == 9) {
# ping received, schedule pong