This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit e5e58327af9f958098ef8cf474b8cb309226c3ad Author: Persia Aziz <per...@yahoo-inc.com> AuthorDate: Tue Mar 6 17:12:01 2018 -0600 Diagnostic message when openning hostdb file fails (cherry picked from commit 305f1d865a50aaa1437215b8c76b3d3608a2810c) --- 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 4b7998e..dbe7e0e 100644 --- a/iocore/hostdb/P_RefCountCache.h +++ b/iocore/hostdb/P_RefCountCache.h @@ -578,7 +578,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 zw...@apache.org.