godot/drivers/unix
Fabio Alessandrelli aa3ef20fcb
[Net] Simplify IP resolution code, fix caching.
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 49297d937c)
2022-01-31 22:54:25 +01:00
..
SCsub
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
syslog_logger.cpp
syslog_logger.h
thread_posix.cpp
thread_posix.h