godot/core/io
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
..
compression.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
compression.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
config_file.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
config_file.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
dtls_server.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
dtls_server.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_compressed.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_compressed.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_encrypted.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_encrypted.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_memory.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_memory.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_network.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_network.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_pack.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_pack.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_zip.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
file_access_zip.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
http_client.cpp [Net] Fix get_response_body_length for large files. 2022-01-25 18:23:04 +01:00
http_client.h [Net] Fix get_response_body_length for large files. 2022-01-25 18:23:04 +01:00
image_loader.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
image_loader.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ip_address.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ip_address.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ip.cpp [Net] Simplify IP resolution code, fix caching. 2022-01-31 22:54:25 +01:00
ip.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
json.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
json.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
logger.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
logger.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
marshalls.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
marshalls.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
multiplayer_api.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
multiplayer_api.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
net_socket.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
net_socket.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
networked_multiplayer_peer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
networked_multiplayer_peer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packet_peer_dtls.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packet_peer_dtls.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packet_peer_udp.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packet_peer_udp.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packet_peer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packet_peer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pck_packer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pck_packer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_format_binary.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_format_binary.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_importer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_importer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_loader.cpp Merge pull request #56630 from Pineapple/replace-find-last 2022-01-18 16:36:52 +01:00
resource_loader.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_saver.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource_saver.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
stream_peer_ssl.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
stream_peer_ssl.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
stream_peer_tcp.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
stream_peer_tcp.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
stream_peer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
stream_peer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
tcp_server.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
tcp_server.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
translation_loader_po.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
translation_loader_po.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
udp_server.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
udp_server.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
xml_parser.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
xml_parser.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
zip_io.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
zip_io.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00