]> git.proxmox.com Git - pve-http-server.git/commit
auth_handler: respond with passed error if we get a PVE::Exception
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Dec 2017 13:00:37 +0000 (14:00 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 11 Dec 2017 13:53:24 +0000 (14:53 +0100)
commitd8327719e353198a1dffad88c246fee065054a6b
tree43c5685999e10ccd6008ba3accd980f55a18063a
parentb1e84aa34dd7988794186766d7b925b6eeb65177
auth_handler: respond with passed error if we get a PVE::Exception

Allows to fix a problem where a logged in connected client was logged
out because we could not verify him for this call as the cluster
filesystem was unavailable.

If we get such a exception then use it for responding.
THis is save as no logged out client can get ever do anything where
login privileges are required and a logged in client cannot to
anything during the problematic period, but does not gets logged out.
Partail fix for #1589

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/APIServer/AnyEvent.pm