pcp
[Top] [All Lists]

Re: [pcp] Fix Perl PMDA Socket Input

To: Marko Myllynen <myllynen@xxxxxxxxxx>
Subject: Re: [pcp] Fix Perl PMDA Socket Input
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 1 Mar 2016 16:23:06 -0500 (EST)
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56D5C45C.2050600@xxxxxxxxxx>
References: <56D5C45C.2050600@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: RY4bgLl7eRAknF1SId6qNE8QuZQa0A==
Thread-topic: Fix Perl PMDA Socket Input

----- Original Message -----
> Hi,
> 
> While reviewing the Perl PMDA pipe input code (basically it doesn't
> work, I'm randomly getting empty lines or seeing lines missed which
> never happens with the external command and tee(1)), I noticed the
> following socket input related bug. This makes me wonder how well tested
> the pipe/socket input mechanisms are, are they worth trying or is it
> best to stick with the more widely used methods?

Best would be to fix the bug(s) as you've done - also good would be to
have some modern PMDAs using the code to exercise it, and/or some more
regression tests in the area.  :)

Thanks Marko!

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>