From 06182572bcb3865c229f2f81ce715fa1376406b4 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Thu, 23 Sep 2021 14:04:37 +0200 Subject: [PATCH] fix(proxy): no event passthrough after a ssh reconnection (#152) --- gorgone/modules/core/proxy/class.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/gorgone/modules/core/proxy/class.pm b/gorgone/modules/core/proxy/class.pm index 0dc0a73..1adfe9c 100644 --- a/gorgone/modules/core/proxy/class.pm +++ b/gorgone/modules/core/proxy/class.pm @@ -309,6 +309,7 @@ sub proxy_ssh { if ($self->{clients}->{ $options{target_client} }->{class}->ping() == -1) { $self->{clients}->{ $options{target_client} }->{delete} = 1; } else { + $self->{clients}->{ $options{target_client} }->{com_read_internal} = 1; $self->send_internal_action( action => 'PONG', data => { data => { id => $options{target_client} } },