This is an automated email from the ASF dual-hosted git repository. paziz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 305f1d8 Diagnostic message when openning hostdb file fails 305f1d8 is described below commit 305f1d865a50aaa1437215b8c76b3d3608a2810c Author: Persia Aziz <per...@yahoo-inc.com> AuthorDate: Tue Mar 6 17:12:01 2018 -0600 Diagnostic message when openning hostdb file fails --- iocore/hostdb/P_RefCountCache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iocore/hostdb/P_RefCountCache.h b/iocore/hostdb/P_RefCountCache.h index 346f9ea..617f718 100644 --- a/iocore/hostdb/P_RefCountCache.h +++ b/iocore/hostdb/P_RefCountCache.h @@ -577,7 +577,8 @@ LoadRefCountCacheFromPath(RefCountCache<CacheEntryType> &cache, std::string dirn int fd = open(filepath.c_str(), O_RDONLY); if (fd < 0) { - return -1; // specific code for missing? + Warning("Unable to open file %s; [Error]: %s", filepath.c_str(), strerror(errno)); + return -1; } // read in the header -- To stop receiving notification emails like this one, please contact pa...@apache.org.