aa3ef20fcb
First, we should not insert into cache if the hostname resolution has
failed (as it might be a temporary internet issue), second, the async
resolver should also properly insert into cache.
Took the chance to remove some duplicate code with critical section in
it at the cost of little performance when calling the blocking
resolve_hostname function.
(cherry picked from commit
|
||
---|---|---|
.. | ||
dir_access_unix.cpp | ||
dir_access_unix.h | ||
file_access_unix.cpp | ||
file_access_unix.h | ||
ip_unix.cpp | ||
ip_unix.h | ||
net_socket_posix.cpp | ||
net_socket_posix.h | ||
os_unix.cpp | ||
os_unix.h | ||
SCsub | ||
syslog_logger.cpp | ||
syslog_logger.h | ||
thread_posix.cpp | ||
thread_posix.h |