--- Begin Message ---
Signed-off-by: Rob Rozestraten <ad...@truthsolo.net>
---
 src/PVE/APIServer/AnyEvent.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm
index 8a52836..771b153 100644
--- a/src/PVE/APIServer/AnyEvent.pm
+++ b/src/PVE/APIServer/AnyEvent.pm
@@ -141,6 +141,7 @@ sub client_do_disconnect {
     my $shutdown_hdl = sub {
        my $hdl = shift;
 
+       $hdl->stoptls() if $hdl->{tls};
        shutdown($hdl->{fh}, 1);
        # clear all handlers
        $hdl->on_drain(undef);
-- 
2.48.1




--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to