Steve Schnepp wrote on 2013-02-28 14:54:54 +0100:
> I'm looking further on what changed between 1.4 & 2.0.
The fetch_service_config method in the file
/usr/share/perl5/Munin/Master/Node.pm is changed to use the new
_node_read_fast method which uses sysread for reading from a socket and
bypasses the TLS layer completely.
A simple work-a-round to revert the fetch_service_config method to use
the _node_read method instead of the _node_read_fast method for reading,
like in the attached patch.
A proper fix whould probably be to make the _node_read_fast to work with
TLS connections, too.
--- /usr/share/perl5/Munin/Master/Node.pm 2013-01-20 13:18:35.000000000 +0200
+++ /usr/share/perl5/Munin/Master/Node.pm 2013-03-18 11:14:16.765775420 +0200
@@ -528,7 +528,7 @@
$self->_node_write_single("fetch $plugin\n");
- my $lines = $self->_node_read_fast();
+ my $lines = $self->_node_read();
my $elapsed = tv_interval($t0);
my $nodedesignation = $self->{host}."/".$self->{address}."/".$self->{port};