...
 
Commits (3)
Revision history for Perl extension Net::OpenSSH.
0.78 May 5, 2018
- Free master pty when the user calls disconnect (bug report
by Jaroslav Reindl, #rt125240).
0.77 Feb 15, 2018
- Fix regression broking password authentication (bug report
by Russell Shingleton).
0.76 Feb 8, 2018
- Allow passing "file_from" and "from0" options into "rsync"
(bug report and patch by Slaven Rezic, fixes #rt124357)
......
......@@ -42,6 +42,6 @@
"url" : "https://github.com/salva/p5-Net-OpenSSH"
}
},
"version" : "0.77",
"version" : "0.78",
"x_serialization_backend" : "JSON::PP version 2.27400_02"
}
......@@ -21,5 +21,5 @@ requires:
Test::More: '0'
resources:
repository: https://github.com/salva/p5-Net-OpenSSH
version: '0.77'
version: '0.78'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
libnet-openssh-perl (0.78-1) unstable; urgency=medium
* New upstream version 0.78
-- Florian Schlichting <fsfs@debian.org> Thu, 21 Jun 2018 20:14:07 +0200
libnet-openssh-perl (0.77-1) unstable; urgency=medium
* Team upload.
......
package Net::OpenSSH;
our $VERSION = '0.77';
our $VERSION = '0.78';
use strict;
use warnings;
......@@ -1074,8 +1074,13 @@ sub _master_wait {
return $self->_master_jump_state(_STATE_AWAITING_MUX, $async);
}
if ($self->{_master_state} == _STATE_GONE or
$self->{_master_state} == _STATE_STOPPED) {
if ($self->{_master_state} == _STATE_GONE) {
if (my $mpty = delete $self->{_mpty}) {
close($mpty)
}
return 0;
}
if ($self->{_master_state} == _STATE_STOPPED) {
return 0;
}
......