Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
fix(proxy): no event passthrough after a ssh reconnection (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
garnier-quentin authored and lpinsivy committed Dec 8, 2021
1 parent b0c3082 commit 0618257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gorgone/modules/core/proxy/class.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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} } },
Expand Down

0 comments on commit 0618257

Please sign in to comment.