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 SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
dir_access_unix.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
dir_access_unix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_unix.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_unix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ip_unix.cpp [Net] Simplify IP resolution code, fix caching. 2022-01-31 22:54:25 +01:00
ip_unix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
net_socket_posix.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
net_socket_posix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
os_unix.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
os_unix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
syslog_logger.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
syslog_logger.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
thread_posix.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
thread_posix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00