Changes committed to git://git.pcp.io/pcp master
Frank Ch. Eigler (1):
pmwebd: provide better diagnostics for resource fetch failures
src/pmwebapi/pmresapi.cxx | 7 +++++--
src/pmwebapi/pmwebapi.h | 2 +-
src/pmwebapi/util.cxx | 17 +++++++++--------
3 files changed, 15 insertions(+), 11 deletions(-)
Details ...
commit 69cf9b18175c4e6abc3b51ea36672687af1b0770
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Thu Apr 21 16:29:23 2016 -0400
pmwebd: provide better diagnostics for resource fetch failures
The cursed_path_p() function tests files named in incoming URLs for
validity (existence, reachability, etc.). Instead of reporting a
blanket true/false boolean, it now reports a numeric rc. That number
is in turn decoded in pmwebres_respond(), to make it easier to
identify pcp installation problems such as related to SGI PR1143. No
QA impact, as only diagnostic log contents are affected.
|